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.001586/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001099/0.0011, allocations: 194.6 kB / 16.14 MB, free: 6.707 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 279.2 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 87.69 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1494, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005748/0.1551, allocations: 4.296 MB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4388/0.5939, allocations: 148.2 MB / 0.8284 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.5946, allocations: 15.28 kB / 0.8284 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.5951, allocations: 140.7 kB / 0.8285 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.5965, allocations: 429.1 kB / 0.8289 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.598, allocations: 0.7061 MB / 0.8296 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000983/0.599, allocations: 1.202 MB / 0.8308 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007184/0.5997, allocations: 0.5923 MB / 0.8314 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.6002, allocations: 396.2 kB / 0.8317 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.6006, allocations: 455.5 kB / 0.8322 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.6007, allocations: 58 kB / 0.8322 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007691/0.6015, allocations: 400.5 kB / 0.8326 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.6017, allocations: 226.9 kB / 0.8328 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.6021, allocations: 485 kB / 0.8333 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.6034, allocations: 1.496 MB / 0.8347 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6034, allocations: 1.156 kB / 0.8348 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6034, allocations: 3.938 kB / 0.8348 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.6034, allocations: 0 / 0.8348 GB, free: 15.89 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002403/0.6058, allocations: 1.392 MB / 0.8361 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6059, allocations: 9.125 kB / 0.8361 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.6068, allocations: 187.9 kB / 0.8363 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.6078, allocations: 0.7275 MB / 0.837 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.6079, allocations: 70.73 kB / 0.8371 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.608, allocations: 77.81 kB / 0.8372 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6094, allocations: 0.9003 MB / 0.838 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6095, allocations: 1.781 kB / 0.838 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.6095, allocations: 35.56 kB / 0.8381 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.6096, allocations: 20 kB / 0.8381 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6112, allocations: 1.096 MB / 0.8392 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.6149, allocations: 2.479 MB / 0.8416 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6163, allocations: 0.8609 MB / 0.8424 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.6168, allocations: 303 kB / 0.8427 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.6169, allocations: 27.86 kB / 0.8427 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.6178, allocations: 491.1 kB / 0.8432 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.304e-06/0.6178, allocations: 4 kB / 0.8432 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003067/0.6208, allocations: 1.168 MB / 0.8443 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.621, allocations: 193.3 kB / 0.8445 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.6217, allocations: 0.6239 MB / 0.8451 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.6218, allocations: 42.55 kB / 0.8452 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.6221, allocations: 388.4 kB / 0.8456 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.6223, allocations: 264.4 kB / 0.8458 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.6225, allocations: 161 kB / 0.846 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6227, allocations: 386.7 kB / 0.8463 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.6232, allocations: 260 kB / 0.8466 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.6238, allocations: 358.2 kB / 0.8469 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6248, allocations: 0.5988 MB / 0.8475 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6249, allocations: 0 / 0.8475 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001909/0.6268, allocations: 0.832 MB / 0.8483 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6268, allocations: 6.656 kB / 0.8483 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6268, allocations: 2.094 kB / 0.8483 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6274, allocations: 89.55 kB / 0.8484 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.6281, allocations: 155.3 kB / 0.8486 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6301, allocations: 1.512 MB / 0.85 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.6309, allocations: 100.9 kB / 0.8501 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.631, allocations: 34.59 kB / 0.8502 GB, free: 6.953 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.0004587/0.6314, allocations: 271.7 kB / 0.8504 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6316, allocations: 78.47 kB / 0.8505 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.6339, allocations: 1.056 MB / 0.8515 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6339, allocations: 7.438 kB / 0.8515 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.6339, allocations: 0 / 0.8515 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6339, allocations: 10.48 kB / 0.8515 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.6371, allocations: 1.898 MB / 0.8534 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6372, allocations: 0 / 0.8534 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.6377, allocations: 146.8 kB / 0.8535 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.6383, allocations: 82.89 kB / 0.8536 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.6384, allocations: 27.83 kB / 0.8536 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.6403, allocations: 1.547 MB / 0.8552 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6403, allocations: 0 / 0.8552 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.6425, allocations: 0.9831 MB / 0.8561 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.6429, allocations: 267.7 kB / 0.8564 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.6431, allocations: 17.12 kB / 0.8564 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.6438, allocations: 63.94 kB / 0.8564 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.644, allocations: 69.42 kB / 0.8565 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.6441, allocations: 42.8 kB / 0.8566 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006374/0.6447, allocations: 454.3 kB / 0.857 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6447, allocations: 0 / 0.857 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009805/0.6457, allocations: 309.2 kB / 0.8573 GB, free: 2.02 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.001445/0.6472, allocations: 0.6114 MB / 0.8579 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.6489, allocations: 0.812 MB / 0.8587 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6489, allocations: 4 kB / 0.8587 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.6498, allocations: 0.5102 MB / 0.8592 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6511, allocations: 260.4 kB / 0.8594 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.6552, allocations: 2.132 MB / 0.8615 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.6558, allocations: 1.019 MB / 0.8625 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001005/0.6568, allocations: 261.2 kB / 0.8627 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.6571, allocations: 99.14 kB / 0.8628 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.6571, allocations: 4 kB / 0.8628 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.02448/0.6816, allocations: 13.94 MB / 0.8765 GB, free: 5.246 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)