Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 103 kB / 16.27 MB, free: 6.031 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.001418/0.001419, allocations: 190.1 kB / 17.19 MB, free: 5.668 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 280.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9546/0.9546, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002038, allocations: 106.1 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.171, allocations: 86.97 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007561/0.1786, allocations: 5.334 MB / 0.686 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4902/0.6688, allocations: 151 MB / 0.8335 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.6703, allocations: 15.94 kB / 0.8335 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.6713, allocations: 202 kB / 0.8337 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.6745, allocations: 0.6337 MB / 0.8343 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.6774, allocations: 0.9977 MB / 0.8353 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.68, allocations: 1.798 MB / 0.837 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.6818, allocations: 1.166 MB / 0.8382 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.6829, allocations: 0.7707 MB / 0.8389 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.6838, allocations: 0.8324 MB / 0.8397 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.6841, allocations: 220 kB / 0.84 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.6851, allocations: 0.5582 MB / 0.8405 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.6856, allocations: 494.5 kB / 0.841 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.6864, allocations: 0.9095 MB / 0.8419 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.6889, allocations: 2.519 MB / 0.8443 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.689, allocations: 0 / 0.8443 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.689, allocations: 0 / 0.8443 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.689, allocations: 0 / 0.8443 GB, free: 7.383 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003547/0.6925, allocations: 1.995 MB / 0.8463 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6926, allocations: 8.031 kB / 0.8463 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.6937, allocations: 258.6 kB / 0.8465 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.695, allocations: 0.9737 MB / 0.8475 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.6951, allocations: 144.8 kB / 0.8476 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.6953, allocations: 148 kB / 0.8477 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.6979, allocations: 1.596 MB / 0.8493 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.6979, allocations: 3.75 kB / 0.8493 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.698, allocations: 72.42 kB / 0.8494 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.6981, allocations: 40 kB / 0.8494 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.7006, allocations: 1.592 MB / 0.851 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006417/0.707, allocations: 4.244 MB / 0.8551 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.709, allocations: 1.097 MB / 0.8562 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.7097, allocations: 427.7 kB / 0.8566 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.7098, allocations: 41.02 kB / 0.8566 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.7111, allocations: 0.6958 MB / 0.8573 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=111): time 2.745e-06/0.7111, allocations: 0 / 0.8573 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111): time 0.003929/0.715, allocations: 1.653 MB / 0.8589 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7152, allocations: 200.8 kB / 0.8591 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.7163, allocations: 0.8414 MB / 0.8599 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/0.7164, allocations: 49.7 kB / 0.86 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.7169, allocations: 0.6129 MB / 0.8606 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.7172, allocations: 362.9 kB / 0.8609 GB, free: 6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.7176, allocations: 226.7 kB / 0.8612 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7177, allocations: 345.9 kB / 0.8615 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.7185, allocations: 402.4 kB / 0.8619 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.7194, allocations: 0.5071 MB / 0.8624 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.721, allocations: 0.8877 MB / 0.8632 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.721, allocations: 0 / 0.8632 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002632/0.7237, allocations: 1.203 MB / 0.8644 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7237, allocations: 8.031 kB / 0.8644 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7237, allocations: 4 kB / 0.8644 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.7243, allocations: 84.77 kB / 0.8645 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.7253, allocations: 227.7 kB / 0.8647 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.7275, allocations: 1.65 MB / 0.8663 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.7285, allocations: 127 kB / 0.8664 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.7286, allocations: 52.02 kB / 0.8665 GB, free: 112 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.000716/0.7293, allocations: 352.2 kB / 0.8668 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.7296, allocations: 110.6 kB / 0.8669 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.7329, allocations: 1.543 MB / 0.8684 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7329, allocations: 16 kB / 0.8685 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7329, allocations: 0 / 0.8685 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.7329, allocations: 3.984 kB / 0.8685 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.7346, allocations: 1.376 MB / 0.8698 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7346, allocations: 0 / 0.8698 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.7354, allocations: 191.7 kB / 0.87 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.7359, allocations: 80.78 kB / 0.8701 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.7359, allocations: 31.97 kB / 0.8701 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.7379, allocations: 1.67 MB / 0.8717 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.738, allocations: 15.84 kB / 0.8717 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.7405, allocations: 1.273 MB / 0.873 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.741, allocations: 355.2 kB / 0.8733 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.7412, allocations: 39.92 kB / 0.8734 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/0.742, allocations: 83.97 kB / 0.8734 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.7422, allocations: 101.1 kB / 0.8735 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.7423, allocations: 51.97 kB / 0.8736 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008736/0.7432, allocations: 0.6135 MB / 0.8742 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7432, allocations: 4 kB / 0.8742 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001184/0.7444, allocations: 442.5 kB / 0.8746 GB, free: 7.508 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00154/0.7459, allocations: 0.6178 MB / 0.8752 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003622/0.7496, allocations: 1.431 MB / 0.8766 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7496, allocations: 0 / 0.8766 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.7508, allocations: 0.6739 MB / 0.8773 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.7522, allocations: 325 kB / 0.8776 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.7579, allocations: 2.663 MB / 0.8802 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/0.7589, allocations: 1.219 MB / 0.8814 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.7594, allocations: 163.3 kB / 0.8815 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.7594, allocations: 0 / 0.8815 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of Templates: time 0.04008/0.7995, allocations: 26.77 MB / 0.9077 GB, free: 5.895 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)