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.0008421/0.0008422, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009363/0.0009363, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 274.6 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 14.84 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004867/0.1791, allocations: 3.665 MB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6104/0.7896, allocations: 136.7 MB / 0.8216 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009117/0.7906, allocations: 14.94 kB / 0.8216 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.7911, allocations: 131.4 kB / 0.8217 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.7929, allocations: 415.8 kB / 0.8221 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.7951, allocations: 0.6146 MB / 0.8227 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.7966, allocations: 1.104 MB / 0.8238 GB, free: 492 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008093/0.7974, allocations: 472.9 kB / 0.8243 GB, free: 384 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.7981, allocations: 325.2 kB / 0.8246 GB, free: 288 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.7985, allocations: 345.8 kB / 0.8249 GB, free: 176 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.7986, allocations: 25.06 kB / 0.8249 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.7997, allocations: 340.8 kB / 0.8253 GB, free: 144 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.7999, allocations: 178.5 kB / 0.8254 GB, free: 92 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.8001, allocations: 189.7 kB / 0.8256 GB, free: 16.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.8014, allocations: 1.141 MB / 0.8267 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8015, allocations: 0 / 0.8267 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8015, allocations: 5.156 kB / 0.8267 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.8015, allocations: 3.938 kB / 0.8267 GB, free: 15.42 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.002391/0.8039, allocations: 1.196 MB / 0.8279 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.8039, allocations: 9.688 kB / 0.8279 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.8048, allocations: 201 kB / 0.8281 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.806, allocations: 0.7041 MB / 0.8288 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.806, allocations: 63.94 kB / 0.8288 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8062, allocations: 77.31 kB / 0.8289 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.8077, allocations: 0.9031 MB / 0.8298 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.8078, allocations: 2.188 kB / 0.8298 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.8079, allocations: 34.03 kB / 0.8298 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.8079, allocations: 26.41 kB / 0.8299 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.8095, allocations: 1.103 MB / 0.8309 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.8134, allocations: 2.496 MB / 0.8334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.8148, allocations: 0.8624 MB / 0.8342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.8154, allocations: 296.7 kB / 0.8345 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.8155, allocations: 30.61 kB / 0.8345 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008896/0.8164, allocations: 494.9 kB / 0.835 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.544e-06/0.8164, allocations: 0 / 0.835 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003351/0.8197, allocations: 1.187 MB / 0.8362 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.8199, allocations: 188.4 kB / 0.8363 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.821, allocations: 0.6207 MB / 0.8369 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.8211, allocations: 45.95 kB / 0.837 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.8215, allocations: 384.1 kB / 0.8374 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.8218, allocations: 259.7 kB / 0.8376 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.8219, allocations: 14.78 kB / 0.8376 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.8221, allocations: 384.8 kB / 0.838 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.8227, allocations: 262.8 kB / 0.8382 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.8233, allocations: 364.2 kB / 0.8386 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.8239, allocations: 299.4 kB / 0.8389 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8239, allocations: 0 / 0.8389 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001872/0.8258, allocations: 0.8422 MB / 0.8397 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8258, allocations: 5.125 kB / 0.8397 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.8258, allocations: 2.938 kB / 0.8397 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.8264, allocations: 82.12 kB / 0.8398 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.827, allocations: 158.1 kB / 0.8399 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.8289, allocations: 1.517 MB / 0.8414 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.8297, allocations: 105.5 kB / 0.8415 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.8298, allocations: 38.16 kB / 0.8415 GB, free: 7.863 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.8304, allocations: 266.4 kB / 0.8418 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.8305, allocations: 77.5 kB / 0.8419 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8328, allocations: 1.065 MB / 0.8429 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8328, allocations: 11.34 kB / 0.8429 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8328, allocations: 7.891 kB / 0.8429 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8329, allocations: 3.984 kB / 0.8429 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.836, allocations: 1.914 MB / 0.8448 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8361, allocations: 48 / 0.8448 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.8366, allocations: 145.2 kB / 0.8449 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.8371, allocations: 87.14 kB / 0.845 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.8372, allocations: 26.14 kB / 0.8451 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.839, allocations: 1.536 MB / 0.8466 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.839, allocations: 0 / 0.8466 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.8409, allocations: 0.9897 MB / 0.8475 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.8414, allocations: 287.9 kB / 0.8478 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.8415, allocations: 18.91 kB / 0.8478 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.8421, allocations: 81.88 kB / 0.8479 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.8423, allocations: 73.44 kB / 0.848 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.8424, allocations: 37.94 kB / 0.848 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000614/0.843, allocations: 449.2 kB / 0.8484 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.843, allocations: 0 / 0.8484 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001052/0.8441, allocations: 303.3 kB / 0.8487 GB, free: 2.871 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/0.8456, allocations: 0.5997 MB / 0.8493 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.8474, allocations: 0.8233 MB / 0.8501 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8474, allocations: 0 / 0.8501 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.8483, allocations: 0.5053 MB / 0.8506 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8495, allocations: 262.8 kB / 0.8508 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.8536, allocations: 2.145 MB / 0.8529 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.8542, allocations: 1.016 MB / 0.8539 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000968/0.8552, allocations: 253.7 kB / 0.8542 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.8554, allocations: 103.1 kB / 0.8543 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.8555, allocations: 0 / 0.8543 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of Templates: time 0.02474/0.8802, allocations: 13.46 MB / 0.8674 GB, free: 4.656 MB / 0.5762 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)