Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 109.1 kB / 16.41 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.001059/0.001058, 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 290.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9533/0.9533, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.001831, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4567, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00723/0.464, allocations: 5.334 MB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.619, allocations: 151 MB / 0.9197 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.6204, allocations: 19.94 kB / 0.9197 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.6213, allocations: 206 kB / 0.9199 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.6236, allocations: 0.6276 MB / 0.9205 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.626, allocations: 1.004 MB / 0.9215 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.6282, allocations: 1.81 MB / 0.9232 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.6298, allocations: 1.168 MB / 0.9244 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.631, allocations: 0.7785 MB / 0.9251 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.6322, allocations: 0.8401 MB / 0.926 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003507/0.6326, allocations: 220 kB / 0.9262 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.6338, allocations: 0.5699 MB / 0.9267 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.6343, allocations: 498.5 kB / 0.9272 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.6353, allocations: 0.9134 MB / 0.9281 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.6385, allocations: 2.577 MB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6385, allocations: 4 kB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6385, allocations: 0 / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.6385, allocations: 0 / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003732/0.6423, allocations: 2.005 MB / 0.9326 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6423, allocations: 8.031 kB / 0.9326 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6434, allocations: 258.6 kB / 0.9328 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.6448, allocations: 0.9891 MB / 0.9338 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.6449, allocations: 140.8 kB / 0.9339 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.6451, allocations: 156 kB / 0.9341 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.6478, allocations: 1.589 MB / 0.9356 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.6478, allocations: 0 / 0.9356 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.6479, allocations: 72 kB / 0.9357 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.648, allocations: 40 kB / 0.9357 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.6505, allocations: 1.592 MB / 0.9373 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/0.6568, allocations: 4.189 MB / 0.9414 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.6587, allocations: 1.092 MB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.6594, allocations: 435.6 kB / 0.9429 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.6595, allocations: 44.84 kB / 0.9429 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.6607, allocations: 0.6958 MB / 0.9436 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=111): time 3.247e-06/0.6607, allocations: 0 / 0.9436 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.00387/0.6646, allocations: 1.645 MB / 0.9452 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.6647, allocations: 196.9 kB / 0.9454 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.6658, allocations: 0.8492 MB / 0.9462 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.6659, allocations: 45.7 kB / 0.9463 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.6663, allocations: 0.6245 MB / 0.9469 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.6666, allocations: 358.8 kB / 0.9472 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.6669, allocations: 226.8 kB / 0.9474 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6671, allocations: 345.9 kB / 0.9478 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/0.6678, allocations: 398.4 kB / 0.9481 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.6686, allocations: 0.5111 MB / 0.9486 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.6702, allocations: 0.8799 MB / 0.9495 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6702, allocations: 0 / 0.9495 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002545/0.6728, allocations: 1.199 MB / 0.9507 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6728, allocations: 10.34 kB / 0.9507 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6728, allocations: 3.938 kB / 0.9507 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.6734, allocations: 84.83 kB / 0.9508 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.6744, allocations: 239.6 kB / 0.951 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.6765, allocations: 1.647 MB / 0.9526 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6775, allocations: 135 kB / 0.9527 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.6776, allocations: 56.03 kB / 0.9528 GB, free: 4.469 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006148/0.6783, allocations: 346.6 kB / 0.9531 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.6785, allocations: 110.6 kB / 0.9532 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.6817, allocations: 1.535 MB / 0.9547 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.6817, allocations: 7.969 kB / 0.9547 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6817, allocations: 0 / 0.9547 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.6822, allocations: 347.3 kB / 0.9551 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.6824, allocations: 39.83 kB / 0.9551 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/0.6832, allocations: 79.92 kB / 0.9552 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6835, allocations: 109.1 kB / 0.9553 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002612/0.6861, allocations: 1.295 MB / 0.9565 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4063/1.092, allocations: 1.931 MB / 0.9584 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001036/1.093, allocations: 0.5005 MB / 0.9589 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001089/1.095, allocations: 0.6144 MB / 0.9595 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of Backend: time 4.11e-07/1.095, allocations: 2.156 kB / 0.9595 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.098, allocations: 1.468 MB / 0.9609 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003865/1.102, allocations: 2.754 MB / 0.9636 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.03082/1.133, allocations: 21.55 MB / 0.9847 GB, free: 169.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)