Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007796/0.007796, allocations: 169 kB / 16.26 MB, free: 6.676 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 274.4 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 13.66 kB / 0.5987 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004777/0.1448, allocations: 3.871 MB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4262/0.5711, allocations: 146.6 MB / 0.8321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.5715, allocations: 13.56 kB / 0.8321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.5719, allocations: 138.3 kB / 0.8322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5731, allocations: 430.1 kB / 0.8327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.5747, allocations: 0.7064 MB / 0.8333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.5759, allocations: 1.193 MB / 0.8345 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.5768, allocations: 0.578 MB / 0.8351 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.5773, allocations: 331.5 kB / 0.8354 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.5778, allocations: 368.4 kB / 0.8357 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.5778, allocations: 29.25 kB / 0.8358 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.5785, allocations: 370.5 kB / 0.8361 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.5786, allocations: 185.9 kB / 0.8363 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.579, allocations: 451.4 kB / 0.8367 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5802, allocations: 1.449 MB / 0.8381 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5802, allocations: 0 / 0.8381 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5802, allocations: 0 / 0.8381 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5802, allocations: 0 / 0.8381 GB, free: 9.207 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002021/0.5823, allocations: 1.199 MB / 0.8393 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5823, allocations: 9.938 kB / 0.8393 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.5832, allocations: 195.8 kB / 0.8395 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.5841, allocations: 0.7328 MB / 0.8402 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.5841, allocations: 63.62 kB / 0.8403 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/0.5842, allocations: 81.47 kB / 0.8404 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5857, allocations: 0.904 MB / 0.8412 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5857, allocations: 4 kB / 0.8413 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.5858, allocations: 41.48 kB / 0.8413 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5858, allocations: 19.75 kB / 0.8413 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.5874, allocations: 1.101 MB / 0.8424 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.591, allocations: 2.496 MB / 0.8448 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.5923, allocations: 0.8639 MB / 0.8457 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.5929, allocations: 304.5 kB / 0.846 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.5929, allocations: 34.34 kB / 0.846 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007836/0.5937, allocations: 494.7 kB / 0.8465 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.5938, allocations: 7.938 kB / 0.8465 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.00293/0.5967, allocations: 1.179 MB / 0.8476 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.5968, allocations: 192.2 kB / 0.8478 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.5975, allocations: 0.6224 MB / 0.8484 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.5976, allocations: 42.8 kB / 0.8485 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.5979, allocations: 390.9 kB / 0.8488 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.598, allocations: 254.6 kB / 0.8491 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.5981, allocations: 82.61 kB / 0.8491 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5983, allocations: 386.4 kB / 0.8495 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.5988, allocations: 261.4 kB / 0.8498 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.5994, allocations: 362.3 kB / 0.8501 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.6004, allocations: 0.6053 MB / 0.8507 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6004, allocations: 0 / 0.8507 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001775/0.6022, allocations: 0.8407 MB / 0.8515 GB, free: 160 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6023, allocations: 5.281 kB / 0.8515 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6023, allocations: 0 / 0.8515 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.6029, allocations: 85.44 kB / 0.8516 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.6035, allocations: 164.2 kB / 0.8518 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.6054, allocations: 1.521 MB / 0.8532 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.6061, allocations: 108.3 kB / 0.8534 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.6062, allocations: 37.78 kB / 0.8534 GB, free: 14.49 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003557/0.6066, allocations: 266.9 kB / 0.8536 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6067, allocations: 84.86 kB / 0.8537 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.6089, allocations: 1.064 MB / 0.8548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.609, allocations: 8.688 kB / 0.8548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.609, allocations: 0 / 0.8548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.609, allocations: 6.609 kB / 0.8548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.6119, allocations: 1.911 MB / 0.8566 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6119, allocations: 0 / 0.8566 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.6124, allocations: 145.7 kB / 0.8568 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.613, allocations: 91.55 kB / 0.8569 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.613, allocations: 24.11 kB / 0.8569 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6147, allocations: 1.539 MB / 0.8584 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6148, allocations: 144 / 0.8584 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.6166, allocations: 1.001 MB / 0.8594 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.6169, allocations: 281.1 kB / 0.8596 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.617, allocations: 17.25 kB / 0.8597 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.6177, allocations: 87.03 kB / 0.8597 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6179, allocations: 71.17 kB / 0.8598 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.6179, allocations: 36.98 kB / 0.8598 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004861/0.6184, allocations: 450.7 kB / 0.8603 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6184, allocations: 0 / 0.8603 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007498/0.6192, allocations: 310.6 kB / 0.8606 GB, free: 9.512 MB / 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001292/0.6205, allocations: 0.6013 MB / 0.8612 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.622, allocations: 0.8234 MB / 0.862 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.622, allocations: 1.75 kB / 0.862 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.6229, allocations: 0.5191 MB / 0.8625 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6241, allocations: 259.4 kB / 0.8627 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.6278, allocations: 2.188 MB / 0.8649 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.6284, allocations: 1.019 MB / 0.8658 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007572/0.6291, allocations: 267.9 kB / 0.8661 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.6294, allocations: 107.1 kB / 0.8662 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6294, allocations: 0 / 0.8662 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of Templates: time 0.02202/0.6514, allocations: 13.86 MB / 0.8797 GB, free: 8.227 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)