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.001498/0.001498, allocations: 103.3 kB / 16.35 MB, free: 6.285 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.001687/0.001687, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002226/0.002227, allocations: 290.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 106.3 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 86.96 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005503/0.1471, allocations: 4.28 MB / 0.6858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3803/0.5274, allocations: 150.5 MB / 0.8328 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.528, allocations: 19.88 kB / 0.8328 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.5285, allocations: 169 kB / 0.8329 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.5299, allocations: 0.5003 MB / 0.8334 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5316, allocations: 0.8172 MB / 0.8342 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.5327, allocations: 1.285 MB / 0.8355 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.5335, allocations: 0.6159 MB / 0.8361 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.5341, allocations: 470.5 kB / 0.8365 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.5346, allocations: 485.8 kB / 0.837 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.5348, allocations: 116 kB / 0.8371 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.5355, allocations: 479.4 kB / 0.8376 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.5358, allocations: 287.1 kB / 0.8378 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.5362, allocations: 0.5285 MB / 0.8384 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.5376, allocations: 1.584 MB / 0.8399 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5376, allocations: 3.938 kB / 0.8399 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5376, allocations: 7.984 kB / 0.8399 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.5376, allocations: 0 / 0.8399 GB, free: 12.17 MB / 0.6075 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.002271/0.5399, allocations: 1.397 MB / 0.8413 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.5399, allocations: 8.031 kB / 0.8413 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.5408, allocations: 187.4 kB / 0.8415 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.542, allocations: 0.7504 MB / 0.8422 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.542, allocations: 61.98 kB / 0.8423 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5422, allocations: 83.75 kB / 0.8423 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5436, allocations: 0.9104 MB / 0.8432 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5436, allocations: 0 / 0.8432 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.5437, allocations: 36 kB / 0.8433 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5437, allocations: 24 kB / 0.8433 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.5454, allocations: 1.096 MB / 0.8444 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.5491, allocations: 2.442 MB / 0.8467 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.5505, allocations: 0.8536 MB / 0.8476 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.551, allocations: 298.7 kB / 0.8479 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-05/0.5511, allocations: 32.61 kB / 0.8479 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.5519, allocations: 483.1 kB / 0.8484 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.552, allocations: 3.938 kB / 0.8484 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.002997/0.555, allocations: 1.174 MB / 0.8495 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.5551, allocations: 192.6 kB / 0.8497 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.5558, allocations: 0.6215 MB / 0.8503 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.5558, allocations: 41.7 kB / 0.8503 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.5561, allocations: 392.3 kB / 0.8507 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.5563, allocations: 252.4 kB / 0.8509 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.5566, allocations: 170.4 kB / 0.8511 GB, free: 380 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5567, allocations: 382.8 kB / 0.8515 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.5573, allocations: 261.9 kB / 0.8517 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.5579, allocations: 355.1 kB / 0.8521 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5589, allocations: 0.5994 MB / 0.8527 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.559, allocations: 0 / 0.8527 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001868/0.5608, allocations: 0.8371 MB / 0.8535 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5609, allocations: 4 kB / 0.8535 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5609, allocations: 0 / 0.8535 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.5615, allocations: 88.78 kB / 0.8536 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.5622, allocations: 163.7 kB / 0.8537 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.5642, allocations: 1.623 MB / 0.8553 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.5648, allocations: 96.06 kB / 0.8554 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.5649, allocations: 39.97 kB / 0.8554 GB, free: 11.77 MB / 0.6231 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.0003517/0.5653, allocations: 267.6 kB / 0.8557 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5654, allocations: 83 kB / 0.8558 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.5678, allocations: 1.051 MB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5678, allocations: 8 kB / 0.8568 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5678, allocations: 0 / 0.8568 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.5678, allocations: 3.984 kB / 0.8568 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.5709, allocations: 1.911 MB / 0.8587 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5709, allocations: 0 / 0.8587 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.5715, allocations: 143.8 kB / 0.8588 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.5719, allocations: 68.8 kB / 0.8589 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.572, allocations: 31.97 kB / 0.8589 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.5738, allocations: 1.654 MB / 0.8605 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/0.5739, allocations: 3.938 kB / 0.8605 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.5758, allocations: 0.9824 MB / 0.8615 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.5762, allocations: 271.8 kB / 0.8617 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.5763, allocations: 19.91 kB / 0.8618 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.5769, allocations: 63.94 kB / 0.8618 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.5771, allocations: 72.89 kB / 0.8619 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.5772, allocations: 27.98 kB / 0.8619 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005136/0.5777, allocations: 455 kB / 0.8623 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5777, allocations: 0 / 0.8623 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007615/0.5785, allocations: 303.3 kB / 0.8626 GB, free: 4.117 MB / 0.6231 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.001293/0.5798, allocations: 0.6127 MB / 0.8632 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.5813, allocations: 0.8243 MB / 0.864 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5814, allocations: 3.984 kB / 0.864 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.5823, allocations: 0.5041 MB / 0.8645 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5834, allocations: 284.4 kB / 0.8648 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.5868, allocations: 1.708 MB / 0.8665 GB, free: 336 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.5874, allocations: 1.019 MB / 0.8675 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006867/0.5881, allocations: 266.4 kB / 0.8677 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.5883, allocations: 107.4 kB / 0.8678 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.5883, allocations: 0 / 0.8678 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.02264/0.611, allocations: 14.56 MB / 0.882 GB, free: 0.582 MB / 0.6387 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)