Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001284/0.001284, allocations: 191 kB / 16.25 MB, free: 6.641 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 283 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9605/0.9605, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 90.73 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1633, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006187/0.1695, allocations: 4.509 MB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.463/0.6325, allocations: 148.5 MB / 0.829 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007/0.6332, allocations: 19.75 kB / 0.829 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.6337, allocations: 138.9 kB / 0.8291 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6352, allocations: 471.7 kB / 0.8296 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.6368, allocations: 0.7781 MB / 0.8304 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.638, allocations: 1.384 MB / 0.8317 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.6389, allocations: 0.637 MB / 0.8323 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.6395, allocations: 0.5029 MB / 0.8328 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.64, allocations: 0.5303 MB / 0.8333 GB, free: 0 / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.6402, allocations: 122.4 kB / 0.8335 GB, free: 0 / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.6411, allocations: 491.6 kB / 0.8339 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.6414, allocations: 312.4 kB / 0.8342 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.6418, allocations: 0.5759 MB / 0.8348 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.6434, allocations: 1.657 MB / 0.8364 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6435, allocations: 0 / 0.8364 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6435, allocations: 1.75 kB / 0.8364 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.6435, allocations: 0 / 0.8364 GB, free: 15.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002797/0.6463, allocations: 1.481 MB / 0.8379 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6463, allocations: 10.47 kB / 0.8379 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.6473, allocations: 193.6 kB / 0.838 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.6483, allocations: 0.7592 MB / 0.8388 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.6483, allocations: 65.91 kB / 0.8389 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6484, allocations: 94.11 kB / 0.8389 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.65, allocations: 0.981 MB / 0.8399 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.65, allocations: 0 / 0.8399 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.6501, allocations: 40.69 kB / 0.8399 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.6502, allocations: 21.88 kB / 0.84 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.6519, allocations: 1.156 MB / 0.8411 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.6563, allocations: 2.702 MB / 0.8437 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.6585, allocations: 0.9826 MB / 0.8447 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.659, allocations: 325.6 kB / 0.845 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/0.6591, allocations: 37.44 kB / 0.845 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009165/0.66, allocations: 0.5333 MB / 0.8456 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.965e-06/0.66, allocations: 7.75 kB / 0.8456 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003264/0.6633, allocations: 1.286 MB / 0.8468 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6634, allocations: 202.6 kB / 0.847 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.6642, allocations: 0.6569 MB / 0.8477 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.6643, allocations: 43.02 kB / 0.8477 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.6646, allocations: 404.4 kB / 0.8481 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.6649, allocations: 282.6 kB / 0.8483 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.6651, allocations: 181.5 kB / 0.8485 GB, free: 9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6653, allocations: 386.8 kB / 0.8489 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.6658, allocations: 292.3 kB / 0.8492 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.6665, allocations: 389.5 kB / 0.8495 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.6676, allocations: 0.6505 MB / 0.8502 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6677, allocations: 0 / 0.8502 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002016/0.6697, allocations: 0.9231 MB / 0.8511 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6697, allocations: 5.281 kB / 0.8511 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6697, allocations: 2.406 kB / 0.8511 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.6704, allocations: 79.91 kB / 0.8512 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.6711, allocations: 177.9 kB / 0.8513 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.6732, allocations: 1.625 MB / 0.8529 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/0.6742, allocations: 119.6 kB / 0.853 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.6743, allocations: 41.09 kB / 0.8531 GB, free: 5.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0005261/0.6748, allocations: 267.2 kB / 0.8533 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.675, allocations: 90.2 kB / 0.8534 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.6777, allocations: 1.186 MB / 0.8546 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6777, allocations: 9.781 kB / 0.8546 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6777, allocations: 6.766 kB / 0.8546 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.6777, allocations: 3.984 kB / 0.8546 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.6812, allocations: 2.102 MB / 0.8566 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.6812, allocations: 8 kB / 0.8566 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.6818, allocations: 167.4 kB / 0.8568 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.6823, allocations: 76.39 kB / 0.8569 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.6824, allocations: 30.75 kB / 0.8569 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6843, allocations: 1.657 MB / 0.8585 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.6843, allocations: 0.7812 kB / 0.8585 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.6866, allocations: 1.091 MB / 0.8596 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.6871, allocations: 289.4 kB / 0.8599 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6873, allocations: 27.66 kB / 0.8599 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.688, allocations: 64.23 kB / 0.86 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.6882, allocations: 86.88 kB / 0.86 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.6883, allocations: 47.62 kB / 0.8601 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006456/0.689, allocations: 472.6 kB / 0.8605 GB, free: 464 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.689, allocations: 0 / 0.8605 GB, free: 464 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009827/0.69, allocations: 337.4 kB / 0.8609 GB, free: 364 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.6914, allocations: 0.6282 MB / 0.8615 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.6941, allocations: 1.133 MB / 0.8626 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6941, allocations: 0 / 0.8626 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.6951, allocations: 0.5717 MB / 0.8631 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6965, allocations: 296.2 kB / 0.8634 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.7008, allocations: 2.318 MB / 0.8657 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.7015, allocations: 1.05 MB / 0.8667 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009852/0.7025, allocations: 270.4 kB / 0.867 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.7029, allocations: 121.3 kB / 0.8671 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.7029, allocations: 1.875 kB / 0.8671 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.02823/0.7311, allocations: 15.63 MB / 0.8823 GB, free: 15.59 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)