Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, 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.00111/0.00111, allocations: 198.5 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 279 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 87.56 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1326, allocations: 87 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006386/0.1391, allocations: 5.427 MB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3939/0.533, allocations: 148.8 MB / 0.8301 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.5339, allocations: 21.72 kB / 0.8301 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.5347, allocations: 159.6 kB / 0.8302 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.5365, allocations: 0.5807 MB / 0.8308 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.5384, allocations: 0.8515 MB / 0.8316 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.5401, allocations: 1.768 MB / 0.8334 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.5414, allocations: 1.041 MB / 0.8344 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.5424, allocations: 0.7022 MB / 0.8351 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.5434, allocations: 0.805 MB / 0.8358 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.5437, allocations: 118.1 kB / 0.836 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.5446, allocations: 458.5 kB / 0.8364 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.545, allocations: 395.2 kB / 0.8368 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.5456, allocations: 0.8162 MB / 0.8376 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.5475, allocations: 2.349 MB / 0.8399 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5475, allocations: 0 / 0.8399 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5475, allocations: 1.062 kB / 0.8399 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.5475, allocations: 0 / 0.8399 GB, free: 14.59 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003833/0.5514, allocations: 2.027 MB / 0.8418 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.5514, allocations: 9.281 kB / 0.8419 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.5524, allocations: 252 kB / 0.8421 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.5538, allocations: 0.9748 MB / 0.843 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.5539, allocations: 118.5 kB / 0.8432 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.5541, allocations: 146.3 kB / 0.8433 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.5566, allocations: 1.582 MB / 0.8448 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.5566, allocations: 2.594 kB / 0.8448 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.5568, allocations: 64.39 kB / 0.8449 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.5568, allocations: 41.66 kB / 0.8449 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.5593, allocations: 1.637 MB / 0.8465 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006119/0.5654, allocations: 4.151 MB / 0.8506 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.5675, allocations: 1.179 MB / 0.8517 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.5682, allocations: 476.6 kB / 0.8522 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.5683, allocations: 44.34 kB / 0.8522 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.5696, allocations: 0.7874 MB / 0.853 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.865e-06/0.5697, allocations: 0 / 0.853 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.004237/0.5739, allocations: 1.832 MB / 0.8548 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.574, allocations: 196.3 kB / 0.855 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.575, allocations: 0.8735 MB / 0.8558 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.5751, allocations: 52.55 kB / 0.8559 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.5756, allocations: 0.6025 MB / 0.8565 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.5759, allocations: 413.4 kB / 0.8569 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.5763, allocations: 255.8 kB / 0.8571 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5764, allocations: 352 kB / 0.8575 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/0.5772, allocations: 453.2 kB / 0.8579 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/0.5782, allocations: 0.5573 MB / 0.8584 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.5799, allocations: 0.9833 MB / 0.8594 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5799, allocations: 112 / 0.8594 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002739/0.5826, allocations: 1.345 MB / 0.8607 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5827, allocations: 2.719 kB / 0.8607 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5827, allocations: 2.094 kB / 0.8607 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.5833, allocations: 82.22 kB / 0.8608 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5844, allocations: 267.7 kB / 0.861 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.5864, allocations: 1.534 MB / 0.8625 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5876, allocations: 153.8 kB / 0.8627 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5877, allocations: 61.11 kB / 0.8627 GB, free: 15.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0005878/0.5883, allocations: 351.4 kB / 0.8631 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5885, allocations: 120.1 kB / 0.8632 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.5922, allocations: 1.714 MB / 0.8649 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5922, allocations: 12.84 kB / 0.8649 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5922, allocations: 0 / 0.8649 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5922, allocations: 11.97 kB / 0.8649 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5937, allocations: 1.398 MB / 0.8663 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.5937, allocations: 0 / 0.8663 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009388/0.5947, allocations: 217.8 kB / 0.8665 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/0.5952, allocations: 82.31 kB / 0.8665 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.5953, allocations: 48.08 kB / 0.8666 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.5971, allocations: 1.561 MB / 0.8681 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5972, allocations: 4.328 kB / 0.8681 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5999, allocations: 1.406 MB / 0.8695 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.6004, allocations: 378.9 kB / 0.8699 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.6006, allocations: 30.22 kB / 0.8699 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.6015, allocations: 86.34 kB / 0.87 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.6018, allocations: 119.6 kB / 0.8701 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6019, allocations: 55.09 kB / 0.8701 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007907/0.6027, allocations: 0.6435 MB / 0.8708 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6027, allocations: 0 / 0.8708 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00102/0.6037, allocations: 473.5 kB / 0.8712 GB, free: 9.871 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.605, allocations: 0.6276 MB / 0.8718 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.6073, allocations: 1.265 MB / 0.8731 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6073, allocations: 0 / 0.8731 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.6085, allocations: 0.7366 MB / 0.8738 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6098, allocations: 297.6 kB / 0.8741 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.6149, allocations: 3.371 MB / 0.8774 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.6156, allocations: 1.24 MB / 0.8786 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6167, allocations: 325.9 kB / 0.8789 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.6172, allocations: 155.3 kB / 0.879 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.6172, allocations: 0 / 0.879 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.02913/0.6463, allocations: 19.78 MB / 0.8983 GB, free: 15.76 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)