Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.001315/0.001315, allocations: 190.7 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7268, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005191/0.732, allocations: 4.429 MB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.9124, allocations: 150.6 MB / 1.24 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.9134, allocations: 23.16 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.9142, allocations: 184.8 kB / 1.24 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.9165, allocations: 0.5172 MB / 1.241 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.9189, allocations: 0.8434 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.9207, allocations: 1.358 MB / 1.243 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.9218, allocations: 0.6215 MB / 1.243 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009361/0.9227, allocations: 0.4938 MB / 1.244 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/0.9236, allocations: 0.5053 MB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.9239, allocations: 117.9 kB / 1.245 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.9251, allocations: 490.5 kB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.9254, allocations: 303 kB / 1.245 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007252/0.9262, allocations: 0.5674 MB / 1.246 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.9284, allocations: 1.633 MB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9285, allocations: 0 / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9285, allocations: 4 kB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.9285, allocations: 0 / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003388/0.9319, allocations: 1.456 MB / 1.249 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.932, allocations: 12.03 kB / 1.249 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.933, allocations: 187.4 kB / 1.249 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.9345, allocations: 0.7702 MB / 1.25 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.9346, allocations: 66 kB / 1.25 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.9347, allocations: 87.98 kB / 1.25 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.9365, allocations: 0.9495 MB / 1.251 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.9366, allocations: 0 / 1.251 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.9367, allocations: 36 kB / 1.251 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.9367, allocations: 20 kB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.9387, allocations: 1.132 MB / 1.252 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.9432, allocations: 2.523 MB / 1.255 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.9448, allocations: 0.9083 MB / 1.255 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.9454, allocations: 317.2 kB / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.9455, allocations: 32.67 kB / 1.256 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008978/0.9464, allocations: 0.5159 MB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.647e-06/0.9464, allocations: 3.938 kB / 1.256 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003357/0.9498, allocations: 1.255 MB / 1.257 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.9499, allocations: 188.9 kB / 1.258 GB, free: 308 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.9508, allocations: 0.6448 MB / 1.258 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.9509, allocations: 45.7 kB / 1.258 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.9513, allocations: 404.4 kB / 1.259 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.9515, allocations: 268 kB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.9518, allocations: 174.5 kB / 1.259 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.952, allocations: 390.8 kB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.9525, allocations: 277.8 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.9532, allocations: 379.9 kB / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.9544, allocations: 0.6368 MB / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.9544, allocations: 0 / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002098/0.9565, allocations: 0.8877 MB / 1.262 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9565, allocations: 4 kB / 1.262 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9565, allocations: 12.06 kB / 1.262 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.9571, allocations: 84.7 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.9579, allocations: 179.8 kB / 1.262 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.96, allocations: 1.615 MB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.9608, allocations: 99.41 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.9609, allocations: 39.97 kB / 1.264 GB, free: 9.977 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004546/0.9613, allocations: 267.8 kB / 1.264 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.9615, allocations: 83.22 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.9641, allocations: 1.148 MB / 1.265 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.9641, allocations: 7.922 kB / 1.265 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9641, allocations: 0 / 1.265 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.9646, allocations: 279.7 kB / 1.265 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.9647, allocations: 20 kB / 1.265 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.9654, allocations: 67.92 kB / 1.265 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.9656, allocations: 76.89 kB / 1.265 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002217/0.9678, allocations: 1.018 MB / 1.266 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002486/0.9703, allocations: 1.477 MB / 1.268 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006539/0.971, allocations: 383.8 kB / 1.268 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005812/0.9716, allocations: 463 kB / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of Backend: time 2.324e-06/0.9716, allocations: 0 / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.975, allocations: 1.284 MB / 1.27 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003202/0.9782, allocations: 2.09 MB / 1.272 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.02709/1.005, allocations: 16.68 MB / 1.288 GB, free: 0.9414 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)