Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.002051/0.002051, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.002093/0.002093, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3986, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005758/0.4044, allocations: 4.914 MB / 0.5863 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5834, allocations: 150.9 MB / 0.7337 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.5847, allocations: 15.94 kB / 0.7337 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.5855, allocations: 202.1 kB / 0.7339 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.5876, allocations: 0.5742 MB / 0.7344 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.5899, allocations: 0.8916 MB / 0.7353 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.5916, allocations: 1.585 MB / 0.7368 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.5928, allocations: 1.073 MB / 0.7379 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.5937, allocations: 0.6772 MB / 0.7385 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.5945, allocations: 0.7408 MB / 0.7393 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.5947, allocations: 176 kB / 0.7394 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009771/0.5957, allocations: 0.5308 MB / 0.74 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.5961, allocations: 422.6 kB / 0.7404 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.5967, allocations: 0.781 MB / 0.7411 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5989, allocations: 2.18 MB / 0.7433 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5989, allocations: 4 kB / 0.7433 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5989, allocations: 0 / 0.7433 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.5989, allocations: 0 / 0.7433 GB, free: 7.961 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003002/0.6019, allocations: 1.779 MB / 0.745 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.602, allocations: 9.109 kB / 0.745 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.603, allocations: 230.9 kB / 0.7452 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.6043, allocations: 0.907 MB / 0.7461 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.6044, allocations: 110.8 kB / 0.7462 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.6046, allocations: 136 kB / 0.7463 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.6069, allocations: 1.432 MB / 0.7477 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.6069, allocations: 0 / 0.7477 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.6071, allocations: 56 kB / 0.7478 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.6071, allocations: 36 kB / 0.7478 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.6095, allocations: 1.521 MB / 0.7493 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3186/0.9281, allocations: 3.712 MB / 0.7529 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.93, allocations: 0.9572 MB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.9308, allocations: 400.2 kB / 0.7543 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.9309, allocations: 48.3 kB / 0.7543 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.932, allocations: 0.5788 MB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.655e-06/0.932, allocations: 0.7812 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.00413/0.9362, allocations: 1.484 MB / 0.7563 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9363, allocations: 193.8 kB / 0.7565 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.9378, allocations: 0.7624 MB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.9379, allocations: 42.64 kB / 0.7573 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.9383, allocations: 0.5555 MB / 0.7578 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.9386, allocations: 352.6 kB / 0.7582 GB, free: 163 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.939, allocations: 215.6 kB / 0.7584 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.9391, allocations: 343.7 kB / 0.7587 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.9399, allocations: 358.6 kB / 0.759 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/0.9408, allocations: 476.8 kB / 0.7595 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.9423, allocations: 0.8276 MB / 0.7603 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9424, allocations: 1.406 kB / 0.7603 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00237/0.9447, allocations: 1.113 MB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9448, allocations: 15.97 kB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.9448, allocations: 0 / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.9454, allocations: 86.23 kB / 0.7615 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.9464, allocations: 220.2 kB / 0.7617 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.9482, allocations: 1.636 MB / 0.7633 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.9491, allocations: 116.3 kB / 0.7634 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.269e-05/0.9492, allocations: 53.08 kB / 0.7635 GB, free: 159.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0005986/0.9498, allocations: 313.1 kB / 0.7638 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.95, allocations: 104.8 kB / 0.7639 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.9528, allocations: 1.378 MB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.9528, allocations: 12.66 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.9528, allocations: 1.688 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.9529, allocations: 3.984 kB / 0.7652 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.9566, allocations: 2.56 MB / 0.7677 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.9566, allocations: 0 / 0.7677 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.9574, allocations: 190.5 kB / 0.7679 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.9578, allocations: 78.5 kB / 0.768 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.9579, allocations: 34.94 kB / 0.768 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.9593, allocations: 1.665 MB / 0.7696 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9593, allocations: 2 kB / 0.7696 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.9612, allocations: 1.171 MB / 0.7708 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.9616, allocations: 323.4 kB / 0.7711 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.9617, allocations: 23.91 kB / 0.7711 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.9623, allocations: 68.86 kB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.9625, allocations: 72.89 kB / 0.7712 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.9626, allocations: 39.98 kB / 0.7713 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005946/0.9632, allocations: 0.5737 MB / 0.7718 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9632, allocations: 0.625 kB / 0.7718 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000933/0.9641, allocations: 405.6 kB / 0.7722 GB, free: 152.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001255/0.9654, allocations: 0.6008 MB / 0.7728 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.9671, allocations: 1.038 MB / 0.7738 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9671, allocations: 6.516 kB / 0.7738 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008336/0.9679, allocations: 0.6075 MB / 0.7744 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.969, allocations: 317.9 kB / 0.7747 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.9729, allocations: 2.315 MB / 0.777 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.9734, allocations: 1.165 MB / 0.7781 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007639/0.9741, allocations: 306.6 kB / 0.7784 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.9744, allocations: 131.4 kB / 0.7786 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.9744, allocations: 0 / 0.7786 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02286/0.9973, allocations: 17.77 MB / 0.7959 GB, free: 128.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)