Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.001521, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001732/0.001732, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 294.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4403, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.00903/0.4494, allocations: 7.684 MB / 0.7745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.6162, allocations: 152.2 MB / 0.9232 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.6178, allocations: 27.88 kB / 0.9232 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.619, allocations: 312.7 kB / 0.9235 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.6226, allocations: 0.8421 MB / 0.9243 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.6262, allocations: 1.634 MB / 0.9259 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004366/0.6306, allocations: 3.506 MB / 0.9293 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.6341, allocations: 2.498 MB / 0.9318 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.6364, allocations: 1.674 MB / 0.9334 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.6391, allocations: 1.864 MB / 0.9352 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.6402, allocations: 0.5469 MB / 0.9358 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.6418, allocations: 0.9332 MB / 0.9367 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007604/0.6426, allocations: 1.06 MB / 0.9377 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.6441, allocations: 1.94 MB / 0.9396 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.6489, allocations: 5.654 MB / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6489, allocations: 0 / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6489, allocations: 0 / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.357e-05/0.649, allocations: 4 kB / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.007495/0.6565, allocations: 3.701 MB / 0.9487 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6565, allocations: 12.03 kB / 0.9488 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.6731, allocations: 2.216 MB / 0.9509 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.6764, allocations: 1.757 MB / 0.9526 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.6766, allocations: 254.9 kB / 0.9529 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/0.6772, allocations: 332 kB / 0.9532 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3912/1.068, allocations: 4.458 MB / 0.9575 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.069, allocations: 0.5312 kB / 0.9575 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008134/1.069, allocations: 139.7 kB / 0.9577 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/1.07, allocations: 82.5 kB / 0.9578 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/1.087, allocations: 5.147 MB / 0.9628 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/1.105, allocations: 10.73 MB / 0.9733 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/1.114, allocations: 3.388 MB / 0.9766 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/1.118, allocations: 1.73 MB / 0.9783 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/1.118, allocations: 0.5181 MB / 0.9788 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004889/1.123, allocations: 2.145 MB / 0.9809 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=249): time 4.328e-06/1.123, allocations: 0 / 0.9809 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=249): time 0.01463/1.138, allocations: 5.188 MB / 0.9859 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/1.138, allocations: 210.8 kB / 0.9861 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.14, allocations: 1.3 MB / 0.9874 GB, free: 164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/1.14, allocations: 73.7 kB / 0.9875 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007076/1.141, allocations: 1.121 MB / 0.9886 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/1.141, allocations: 0.7837 MB / 0.9893 GB, free: 162 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/1.142, allocations: 467.8 kB / 0.9898 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/1.142, allocations: 305.1 kB / 0.9901 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.146, allocations: 1.476 MB / 0.9915 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/1.15, allocations: 1.671 MB / 0.9931 GB, free: 158 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/1.159, allocations: 3.053 MB / 0.9961 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.159, allocations: 4 kB / 0.9961 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01007/1.169, allocations: 3.648 MB / 0.9997 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.169, allocations: 8 kB / 0.9997 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.169, allocations: 4 kB / 0.9997 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/1.169, allocations: 88.77 kB / 0.9998 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/1.173, allocations: 0.6786 MB / 1 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/1.175, allocations: 1.634 MB / 1.002 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.178, allocations: 420.2 kB / 1.002 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/1.179, allocations: 115.9 kB / 1.003 GB, free: 148.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.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,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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.001318/1.18, allocations: 0.6055 MB / 1.003 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.18, allocations: 197.5 kB / 1.003 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.192, allocations: 4.354 MB / 1.008 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.192, allocations: 11.95 kB / 1.008 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/1.192, allocations: 7.969 kB / 1.008 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009656/1.193, allocations: 0.7007 MB / 1.008 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/1.193, allocations: 67.84 kB / 1.008 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.196, allocations: 287.6 kB / 1.009 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/1.196, allocations: 181.9 kB / 1.009 GB, free: 141.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01142/1.208, allocations: 3.967 MB / 1.013 GB, free: 137.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01368/1.222, allocations: 5.916 MB / 1.018 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004044/1.226, allocations: 1.77 MB / 1.02 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001223/1.227, allocations: 0.9637 MB / 1.021 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of Backend: time 7.02e-07/1.227, allocations: 0 / 1.021 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007727/1.235, allocations: 2.886 MB / 1.024 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005748/1.24, allocations: 4.599 MB / 1.028 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.06158/1.302, allocations: 48.15 MB / 1.075 GB, free: 73.77 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)