Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 189.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 286.8 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 89.8 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1568, allocations: 86.98 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006248/0.163, allocations: 4.426 MB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4326/0.5957, allocations: 148.3 MB / 0.8288 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.5965, allocations: 19.28 kB / 0.8288 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.597, allocations: 145.9 kB / 0.829 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.5983, allocations: 455.9 kB / 0.8294 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.5999, allocations: 0.7549 MB / 0.8301 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.601, allocations: 1.343 MB / 0.8315 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.6018, allocations: 0.6302 MB / 0.8321 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.6024, allocations: 496.7 kB / 0.8325 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.6029, allocations: 0.5063 MB / 0.833 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6031, allocations: 119.1 kB / 0.8332 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.6041, allocations: 460.9 kB / 0.8336 GB, free: 0 / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6044, allocations: 304.5 kB / 0.8339 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.6049, allocations: 0.5599 MB / 0.8344 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.6067, allocations: 1.598 MB / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6067, allocations: 0 / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6067, allocations: 0 / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.6067, allocations: 0 / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002636/0.6093, allocations: 1.445 MB / 0.8374 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6094, allocations: 10.28 kB / 0.8374 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/0.6104, allocations: 187.1 kB / 0.8376 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.6113, allocations: 0.7579 MB / 0.8383 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.6114, allocations: 60.56 kB / 0.8384 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.6115, allocations: 82.5 kB / 0.8385 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.613, allocations: 0.9425 MB / 0.8394 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6131, allocations: 0 / 0.8394 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.6132, allocations: 39.47 kB / 0.8394 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.6132, allocations: 24.34 kB / 0.8394 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.615, allocations: 1.123 MB / 0.8405 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.6187, allocations: 2.545 MB / 0.843 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6202, allocations: 0.905 MB / 0.8439 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.6207, allocations: 314.6 kB / 0.8442 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.6208, allocations: 33.58 kB / 0.8442 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009571/0.6217, allocations: 0.5228 MB / 0.8448 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.385e-06/0.6218, allocations: 0 / 0.8448 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003172/0.6249, allocations: 1.246 MB / 0.846 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.625, allocations: 188.7 kB / 0.8461 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.6258, allocations: 0.6414 MB / 0.8468 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.6259, allocations: 43.39 kB / 0.8468 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.6262, allocations: 391.9 kB / 0.8472 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.6265, allocations: 278.2 kB / 0.8475 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.6268, allocations: 173 kB / 0.8476 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6269, allocations: 390.8 kB / 0.848 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.6275, allocations: 276.2 kB / 0.8483 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.6281, allocations: 374.1 kB / 0.8486 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.6293, allocations: 0.6234 MB / 0.8492 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6293, allocations: 0 / 0.8492 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002275/0.6316, allocations: 0.8787 MB / 0.8501 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6317, allocations: 5.344 kB / 0.8501 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6317, allocations: 3.656 kB / 0.8501 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.6323, allocations: 89.45 kB / 0.8502 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.633, allocations: 168.2 kB / 0.8503 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.6352, allocations: 1.628 MB / 0.8519 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008621/0.6361, allocations: 97.5 kB / 0.852 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.6362, allocations: 39.38 kB / 0.8521 GB, free: 6.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005069/0.6367, allocations: 277.1 kB / 0.8523 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.6369, allocations: 84 kB / 0.8524 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6395, allocations: 1.142 MB / 0.8535 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.6395, allocations: 10.12 kB / 0.8535 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6395, allocations: 3.938 kB / 0.8535 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6395, allocations: 3.984 kB / 0.8535 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.6429, allocations: 2.03 MB / 0.8555 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.643, allocations: 0 / 0.8555 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.6436, allocations: 149.8 kB / 0.8557 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.6441, allocations: 74.66 kB / 0.8557 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.6441, allocations: 29.75 kB / 0.8558 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.646, allocations: 1.653 MB / 0.8574 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.646, allocations: 0 / 0.8574 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.6481, allocations: 1.05 MB / 0.8584 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.6485, allocations: 279.8 kB / 0.8587 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6487, allocations: 21.78 kB / 0.8587 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.6494, allocations: 69.42 kB / 0.8588 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6496, allocations: 76.08 kB / 0.8588 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.6496, allocations: 48.97 kB / 0.8589 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005422/0.6502, allocations: 459.2 kB / 0.8593 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6502, allocations: 0 / 0.8593 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008814/0.6511, allocations: 324 kB / 0.8596 GB, free: 0.9727 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.6525, allocations: 0.6085 MB / 0.8602 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.6549, allocations: 1.082 MB / 0.8613 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6549, allocations: 0 / 0.8613 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.6558, allocations: 0.5372 MB / 0.8618 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6571, allocations: 307.5 kB / 0.8621 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.6611, allocations: 2.248 MB / 0.8643 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.6618, allocations: 1.029 MB / 0.8653 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008786/0.6626, allocations: 273.4 kB / 0.8655 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.6629, allocations: 112.4 kB / 0.8657 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.663, allocations: 0 / 0.8657 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.02597/0.6889, allocations: 15.13 MB / 0.8804 GB, free: 1.398 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)