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.00112/0.00112, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001114/0.001114, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.06 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: 284.4 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.9618/0.9618, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4411, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005532/0.4467, allocations: 4.412 MB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.6032, allocations: 150.6 MB / 0.9184 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000856/0.6041, allocations: 15.94 kB / 0.9184 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.6049, allocations: 178.3 kB / 0.9186 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.607, allocations: 0.5255 MB / 0.9191 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.6093, allocations: 0.8406 MB / 0.9199 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.6109, allocations: 1.347 MB / 0.9212 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.612, allocations: 0.6315 MB / 0.9219 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007917/0.6128, allocations: 0.4904 MB / 0.9223 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.6136, allocations: 0.5056 MB / 0.9228 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.6139, allocations: 120 kB / 0.9229 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.6149, allocations: 491.6 kB / 0.9234 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.6153, allocations: 299 kB / 0.9237 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.6161, allocations: 0.5596 MB / 0.9242 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.6182, allocations: 1.63 MB / 0.9258 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6182, allocations: 0 / 0.9258 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6182, allocations: 0 / 0.9258 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.6183, allocations: 0 / 0.9258 GB, free: 0.6523 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.00309/0.6214, allocations: 1.452 MB / 0.9273 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6215, allocations: 16.03 kB / 0.9273 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.6224, allocations: 183.4 kB / 0.9274 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.6236, allocations: 0.7779 MB / 0.9282 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.6236, allocations: 69.98 kB / 0.9283 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6238, allocations: 84 kB / 0.9284 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.6254, allocations: 0.9379 MB / 0.9293 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.6254, allocations: 4 kB / 0.9293 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.6255, allocations: 36 kB / 0.9293 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.6255, allocations: 20 kB / 0.9293 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.6274, allocations: 1.124 MB / 0.9304 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.6312, allocations: 2.511 MB / 0.9329 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.6329, allocations: 0.9148 MB / 0.9338 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.6334, allocations: 309.3 kB / 0.9341 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.6335, allocations: 32.67 kB / 0.9341 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009307/0.6345, allocations: 0.512 MB / 0.9346 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.866e-06/0.6345, allocations: 0 / 0.9346 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003152/0.6376, allocations: 1.247 MB / 0.9358 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6378, allocations: 192.9 kB / 0.936 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.6386, allocations: 0.6371 MB / 0.9366 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.6386, allocations: 41.7 kB / 0.9367 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.639, allocations: 408.4 kB / 0.937 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6392, allocations: 268.2 kB / 0.9373 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.6395, allocations: 170.5 kB / 0.9375 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6396, allocations: 390.7 kB / 0.9378 GB, free: 4 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/0.6402, allocations: 277.8 kB / 0.9381 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.6408, allocations: 379 kB / 0.9385 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6419, allocations: 0.6242 MB / 0.9391 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.642, allocations: 0 / 0.9391 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001946/0.6439, allocations: 0.8722 MB / 0.9399 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6439, allocations: 10.19 kB / 0.9399 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.644, allocations: 0 / 0.9399 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.6446, allocations: 88.7 kB / 0.94 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.6453, allocations: 171.7 kB / 0.9402 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.6475, allocations: 1.63 MB / 0.9418 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.6484, allocations: 91.41 kB / 0.9419 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.6484, allocations: 43.91 kB / 0.9419 GB, free: 15.65 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.000518/0.649, allocations: 275.6 kB / 0.9422 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6491, allocations: 86.97 kB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.6516, allocations: 1.132 MB / 0.9434 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6516, allocations: 7.922 kB / 0.9434 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6516, allocations: 4 kB / 0.9434 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.652, allocations: 275.7 kB / 0.9436 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.6521, allocations: 24 kB / 0.9437 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.6527, allocations: 71.16 kB / 0.9437 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.6529, allocations: 76.89 kB / 0.9438 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002017/0.6549, allocations: 0.9982 MB / 0.9448 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002311/0.6573, allocations: 1.477 MB / 0.9462 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006204/0.6579, allocations: 383.8 kB / 0.9466 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005419/0.6584, allocations: 467 kB / 0.947 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of Backend: time 6.52e-07/0.6585, allocations: 0 / 0.947 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.6618, allocations: 1.274 MB / 0.9483 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002903/0.6647, allocations: 2.076 MB / 0.9503 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.36/1.025, allocations: 16.67 MB / 0.9666 GB, free: 185.5 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)