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.001283/0.001283, allocations: 110.2 kB / 16.37 MB, free: 6.004 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.001361/0.001362, allocations: 197.1 kB / 17.31 MB, free: 5.617 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 292.8 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.9541/0.9541, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001806, allocations: 94.98 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1919, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.0072/0.1991, allocations: 5.455 MB / 0.6869 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5136/0.7127, allocations: 151.1 MB / 0.8345 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.7141, allocations: 23.88 kB / 0.8345 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.7149, allocations: 201.9 kB / 0.8347 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.7175, allocations: 0.6796 MB / 0.8354 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.7204, allocations: 0.9767 MB / 0.8363 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.7229, allocations: 1.904 MB / 0.8382 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.7243, allocations: 1.08 MB / 0.8393 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.7255, allocations: 0.794 MB / 0.84 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7266, allocations: 0.8712 MB / 0.8409 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.7268, allocations: 208 kB / 0.8411 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.728, allocations: 0.5621 MB / 0.8416 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.7285, allocations: 486.4 kB / 0.8421 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008408/0.7293, allocations: 0.8939 MB / 0.843 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.7323, allocations: 2.495 MB / 0.8454 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7323, allocations: 0 / 0.8454 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7323, allocations: 4 kB / 0.8454 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.549e-05/0.7324, allocations: 0 / 0.8454 GB, free: 6.602 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004241/0.7366, allocations: 2.02 MB / 0.8474 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7367, allocations: 16.03 kB / 0.8474 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7378, allocations: 250.6 kB / 0.8476 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.7394, allocations: 0.9892 MB / 0.8486 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.7395, allocations: 119.1 kB / 0.8487 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.7397, allocations: 151.9 kB / 0.8489 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.7423, allocations: 1.584 MB / 0.8504 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.7423, allocations: 7.984 kB / 0.8504 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.7425, allocations: 60 kB / 0.8505 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.7425, allocations: 40 kB / 0.8505 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.7452, allocations: 1.635 MB / 0.8521 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007101/0.7523, allocations: 4.08 MB / 0.8561 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.7546, allocations: 1.188 MB / 0.8572 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.7554, allocations: 483.7 kB / 0.8577 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.7555, allocations: 49.08 kB / 0.8578 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.7569, allocations: 0.7705 MB / 0.8585 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=128): time 2.756e-06/0.7569, allocations: 4 kB / 0.8585 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128): time 0.004544/0.7615, allocations: 1.834 MB / 0.8603 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7616, allocations: 197.2 kB / 0.8605 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.763, allocations: 0.8692 MB / 0.8613 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7631, allocations: 53.7 kB / 0.8614 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/0.7637, allocations: 0.6015 MB / 0.862 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.7641, allocations: 410.2 kB / 0.8624 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.7645, allocations: 254.7 kB / 0.8626 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7647, allocations: 353.9 kB / 0.8629 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/0.7656, allocations: 458.3 kB / 0.8634 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.7666, allocations: 0.5571 MB / 0.8639 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.7684, allocations: 0.9779 MB / 0.8649 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7684, allocations: 4 kB / 0.8649 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003108/0.7715, allocations: 1.337 MB / 0.8662 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7716, allocations: 6.344 kB / 0.8662 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7716, allocations: 3.984 kB / 0.8662 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.7722, allocations: 88.83 kB / 0.8663 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.7734, allocations: 263.6 kB / 0.8665 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7757, allocations: 1.651 MB / 0.8682 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.777, allocations: 151.9 kB / 0.8683 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7771, allocations: 55.95 kB / 0.8683 GB, free: 14.52 MB / 0.6387 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.0006808/0.7778, allocations: 357.7 kB / 0.8687 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.7781, allocations: 122.4 kB / 0.8688 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.7819, allocations: 1.702 MB / 0.8705 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.7819, allocations: 12 kB / 0.8705 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7819, allocations: 0 / 0.8705 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.7819, allocations: 11.97 kB / 0.8705 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.7838, allocations: 1.402 MB / 0.8719 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.7838, allocations: 3.984 kB / 0.8719 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.7848, allocations: 211.7 kB / 0.8721 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/0.7853, allocations: 76.78 kB / 0.8721 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.627e-05/0.7854, allocations: 39.97 kB / 0.8722 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.7873, allocations: 1.679 MB / 0.8738 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7874, allocations: 3.938 kB / 0.8738 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.7904, allocations: 1.402 MB / 0.8752 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/0.7911, allocations: 379 kB / 0.8756 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.7913, allocations: 28 kB / 0.8756 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.7922, allocations: 91.91 kB / 0.8757 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.7925, allocations: 109.2 kB / 0.8758 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7926, allocations: 55.95 kB / 0.8758 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009337/0.7935, allocations: 0.6502 MB / 0.8765 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7935, allocations: 0 / 0.8765 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001194/0.7947, allocations: 466.5 kB / 0.8769 GB, free: 5.488 MB / 0.6387 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.001447/0.7962, allocations: 0.6243 MB / 0.8775 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.7988, allocations: 1.263 MB / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7988, allocations: 192 / 0.8787 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.8002, allocations: 0.7479 MB / 0.8795 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.8016, allocations: 329.8 kB / 0.8798 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.807, allocations: 2.656 MB / 0.8824 GB, free: 16 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/0.8079, allocations: 1.239 MB / 0.8836 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001158/0.809, allocations: 325.9 kB / 0.8839 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.8095, allocations: 159.3 kB / 0.8841 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.8095, allocations: 0 / 0.8841 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.03907/0.8486, allocations: 20.75 MB / 0.9043 GB, free: 9.715 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)