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.001107/0.001107, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001063/0.001063, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 297.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9783/0.9783, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 88.23 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005641/0.3966, allocations: 4.419 MB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.153/0.5496, allocations: 150.6 MB / 0.9184 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006638/0.5503, allocations: 23.88 kB / 0.9184 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.5508, allocations: 174.3 kB / 0.9186 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.5524, allocations: 0.5136 MB / 0.9191 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.5542, allocations: 0.8343 MB / 0.9199 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.5555, allocations: 1.351 MB / 0.9212 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.5563, allocations: 0.6255 MB / 0.9218 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.5569, allocations: 498.3 kB / 0.9223 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.5574, allocations: 0.5094 MB / 0.9228 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5576, allocations: 120 kB / 0.9229 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.5584, allocations: 483.6 kB / 0.9234 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.5587, allocations: 310.9 kB / 0.9237 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.5591, allocations: 0.5518 MB / 0.9242 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5608, allocations: 1.638 MB / 0.9258 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5608, allocations: 4 kB / 0.9258 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5608, allocations: 0 / 0.9258 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5608, allocations: 0 / 0.9258 GB, free: 0.6641 MB / 0.6856 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.002471/0.5633, allocations: 1.448 MB / 0.9272 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5633, allocations: 8.031 kB / 0.9273 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/0.5643, allocations: 191.4 kB / 0.9274 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.5654, allocations: 0.778 MB / 0.9282 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.5655, allocations: 65.94 kB / 0.9283 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5656, allocations: 84 kB / 0.9283 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.5672, allocations: 0.9456 MB / 0.9293 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.5672, allocations: 0 / 0.9293 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.5673, allocations: 32 kB / 0.9293 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5673, allocations: 23.98 kB / 0.9293 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.5691, allocations: 1.128 MB / 0.9304 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.5729, allocations: 2.515 MB / 0.9329 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5745, allocations: 0.907 MB / 0.9338 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.575, allocations: 314.7 kB / 0.9341 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.5751, allocations: 28.69 kB / 0.9341 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/0.576, allocations: 0.5159 MB / 0.9346 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.484e-06/0.576, allocations: 0 / 0.9346 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003186/0.5792, allocations: 1.247 MB / 0.9358 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.5793, allocations: 192.9 kB / 0.936 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.5801, allocations: 0.6371 MB / 0.9366 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.5802, allocations: 45.69 kB / 0.9367 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.5805, allocations: 396.4 kB / 0.937 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.5807, allocations: 268.2 kB / 0.9373 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.5809, allocations: 174.5 kB / 0.9375 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5811, allocations: 390.7 kB / 0.9378 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.5817, allocations: 277.8 kB / 0.9381 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.5823, allocations: 371.1 kB / 0.9384 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5835, allocations: 0.6281 MB / 0.9391 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5835, allocations: 0 / 0.9391 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002011/0.5855, allocations: 0.8799 MB / 0.9399 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5855, allocations: 4 kB / 0.9399 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5855, allocations: 0 / 0.9399 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.5861, allocations: 84.8 kB / 0.94 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.5869, allocations: 171.8 kB / 0.9402 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.5889, allocations: 1.626 MB / 0.9418 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007752/0.5897, allocations: 95.47 kB / 0.9418 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.5898, allocations: 39.97 kB / 0.9419 GB, free: 15.67 MB / 0.7169 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.0004087/0.5902, allocations: 278 kB / 0.9422 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5904, allocations: 86.97 kB / 0.9422 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5929, allocations: 1.136 MB / 0.9433 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.5929, allocations: 11.92 kB / 0.9434 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5929, allocations: 3.984 kB / 0.9434 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.5933, allocations: 279.7 kB / 0.9436 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5934, allocations: 16 kB / 0.9436 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.5941, allocations: 67.92 kB / 0.9437 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5943, allocations: 80.83 kB / 0.9438 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002122/0.5964, allocations: 1.002 MB / 0.9448 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002343/0.5988, allocations: 1.473 MB / 0.9462 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006215/0.5994, allocations: 375.8 kB / 0.9466 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005685/0.6, allocations: 471 kB / 0.947 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of Backend: time 5.61e-07/0.6, allocations: 4 kB / 0.947 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003199/0.6032, allocations: 1.276 MB / 0.9483 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003538/0.6067, allocations: 2.065 MB / 0.9503 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.3412/0.948, allocations: 16.68 MB / 0.9666 GB, free: 185.6 MB / 0.7169 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)