Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 106 kB / 16.36 MB, free: 5.875 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.001262/0.001262, allocations: 191 kB / 17.29 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 299.5 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 102.1 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1429, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006292/0.1493, allocations: 4.475 MB / 0.686 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3904/0.5397, allocations: 150.8 MB / 0.8332 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.5404, allocations: 15.94 kB / 0.8332 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.5409, allocations: 178.8 kB / 0.8334 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.5424, allocations: 0.5249 MB / 0.8339 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.5442, allocations: 0.8528 MB / 0.8347 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.5454, allocations: 1.367 MB / 0.836 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.5462, allocations: 0.6273 MB / 0.8367 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.5467, allocations: 0.4944 MB / 0.8371 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.5473, allocations: 0.525 MB / 0.8377 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.5474, allocations: 120 kB / 0.8378 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.5482, allocations: 487.6 kB / 0.8382 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.5485, allocations: 310.9 kB / 0.8385 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.5489, allocations: 0.5749 MB / 0.8391 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5504, allocations: 1.65 MB / 0.8407 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.5504, allocations: 4 kB / 0.8407 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5504, allocations: 4 kB / 0.8407 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.5505, allocations: 0 / 0.8407 GB, free: 11.39 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002735/0.5532, allocations: 1.466 MB / 0.8421 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5533, allocations: 12.03 kB / 0.8422 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.5542, allocations: 187.3 kB / 0.8423 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5553, allocations: 0.79 MB / 0.8431 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.5554, allocations: 73.86 kB / 0.8432 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5555, allocations: 84 kB / 0.8433 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.5571, allocations: 0.9652 MB / 0.8442 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5571, allocations: 3.984 kB / 0.8442 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.5572, allocations: 39.98 kB / 0.8442 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5572, allocations: 20 kB / 0.8443 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.559, allocations: 1.159 MB / 0.8454 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.563, allocations: 2.63 MB / 0.848 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5646, allocations: 0.8471 MB / 0.8488 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.5651, allocations: 322.7 kB / 0.8491 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.609e-05/0.5652, allocations: 36.67 kB / 0.8491 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/0.5661, allocations: 0.5276 MB / 0.8496 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.695e-06/0.5661, allocations: 4 kB / 0.8497 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.00324/0.5694, allocations: 1.282 MB / 0.8509 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.5695, allocations: 196.9 kB / 0.8511 GB, free: 476 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.5702, allocations: 0.6566 MB / 0.8517 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.5703, allocations: 45.7 kB / 0.8518 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.5706, allocations: 404.4 kB / 0.8522 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.5708, allocations: 283.9 kB / 0.8524 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.5711, allocations: 182.4 kB / 0.8526 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5713, allocations: 390.7 kB / 0.853 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.5718, allocations: 293.8 kB / 0.8533 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.5725, allocations: 395 kB / 0.8536 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.5737, allocations: 0.6555 MB / 0.8543 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5737, allocations: 0 / 0.8543 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002062/0.5758, allocations: 0.9113 MB / 0.8552 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5758, allocations: 8 kB / 0.8552 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5758, allocations: 3.938 kB / 0.8552 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.5764, allocations: 80.83 kB / 0.8553 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.5772, allocations: 180.5 kB / 0.8554 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.5793, allocations: 1.623 MB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/0.58, allocations: 96.14 kB / 0.8571 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.5801, allocations: 55.88 kB / 0.8572 GB, free: 10.03 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: 20 (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,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 (105): * Single equations (assignments): 104 * 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.0004285/0.5806, allocations: 275.7 kB / 0.8574 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.5807, allocations: 83.97 kB / 0.8575 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.5833, allocations: 1.157 MB / 0.8586 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5833, allocations: 15.94 kB / 0.8586 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5833, allocations: 4 kB / 0.8586 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5833, allocations: 3.984 kB / 0.8587 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.5844, allocations: 0.9499 MB / 0.8596 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5844, allocations: 4 kB / 0.8596 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.585, allocations: 159.8 kB / 0.8597 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5855, allocations: 76.67 kB / 0.8598 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.5856, allocations: 27.97 kB / 0.8598 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.5874, allocations: 1.654 MB / 0.8615 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5874, allocations: 0 / 0.8615 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.5895, allocations: 0.998 MB / 0.8624 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.5899, allocations: 279.7 kB / 0.8627 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.59, allocations: 23.84 kB / 0.8627 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.5907, allocations: 67.92 kB / 0.8628 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.5909, allocations: 80.83 kB / 0.8629 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.5909, allocations: 43.97 kB / 0.8629 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005628/0.5915, allocations: 479 kB / 0.8634 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5915, allocations: 0 / 0.8634 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007784/0.5923, allocations: 319.4 kB / 0.8637 GB, free: 3.105 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.00131/0.5936, allocations: 0.6183 MB / 0.8643 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.5953, allocations: 0.8897 MB / 0.8651 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5954, allocations: 0 / 0.8651 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009584/0.5963, allocations: 0.5434 MB / 0.8657 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5974, allocations: 306.2 kB / 0.866 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.6011, allocations: 1.834 MB / 0.8677 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.6016, allocations: 1.04 MB / 0.8688 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007641/0.6024, allocations: 267.1 kB / 0.869 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.6027, allocations: 115.4 kB / 0.8691 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.6027, allocations: 0 / 0.8691 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of Templates: time 0.02441/0.6271, allocations: 15.54 MB / 0.8843 GB, free: 14.3 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)