Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4218/0.4218, allocations: 54.4 MB / 61.88 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001121/0.001121, allocations: 179.8 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.401/1.401, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001603/0.001602, allocations: 108.7 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.355e-05, allocations: 4 kB / 405.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3515, allocations: 57.64 MB / 463.1 MB, free: 51.63 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.289, allocations: 2.129 GB / 2.581 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/5.289, allocations: 89.22 kB / 2.581 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4839/5.773, allocations: 77.65 MB / 2.657 GB, free: 146 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-06/5.773, allocations: 0 / 2.657 GB, free: 146 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001431/5.774, allocations: 47.88 kB / 2.657 GB, free: 146 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004267/5.778, allocations: 1.693 MB / 2.659 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/5.778, allocations: 12.03 kB / 2.659 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009372/5.787, allocations: 1.055 MB / 2.66 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/5.79, allocations: 0.8663 MB / 2.661 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/5.79, allocations: 40 kB / 2.661 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/5.79, allocations: 80 kB / 2.661 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003512/5.794, allocations: 2.032 MB / 2.663 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/5.797, allocations: 1.362 MB / 2.664 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/5.797, allocations: 0 / 2.664 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/5.797, allocations: 11.98 kB / 2.664 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/5.797, allocations: 32 kB / 2.664 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/5.808, allocations: 4.684 MB / 2.669 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/5.81, allocations: 1.475 MB / 2.67 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/5.81, allocations: 0.553 MB / 2.671 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/5.811, allocations: 0.4943 MB / 2.671 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/5.812, allocations: 0.8643 MB / 2.672 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=137): time 3.247e-06/5.812, allocations: 0 / 2.672 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137): time 0.009713/5.822, allocations: 2.167 MB / 2.674 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/5.822, allocations: 303.8 kB / 2.674 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/5.823, allocations: 0.7512 MB / 2.675 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/5.824, allocations: 29.7 kB / 2.675 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/5.824, allocations: 0.5165 MB / 2.676 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/5.824, allocations: 429.5 kB / 2.676 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/5.825, allocations: 0 / 2.676 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/5.825, allocations: 354.4 kB / 2.676 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/5.825, allocations: 490.5 kB / 2.677 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/5.826, allocations: 0.6304 MB / 2.677 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/5.833, allocations: 1.32 MB / 2.679 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/5.833, allocations: 0 / 2.679 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009189/5.842, allocations: 2.353 MB / 2.681 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/5.842, allocations: 110.8 kB / 2.681 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/5.842, allocations: 4 kB / 2.681 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/5.843, allocations: 169.6 kB / 2.681 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/5.846, allocations: 443.3 kB / 2.682 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/5.849, allocations: 2.926 MB / 2.685 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/5.851, allocations: 238.9 kB / 2.685 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/5.851, allocations: 75.92 kB / 2.685 GB, free: 116.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003158/5.852, allocations: 135.1 kB / 2.685 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/5.852, allocations: 130.5 kB / 2.685 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/5.862, allocations: 2.715 MB / 2.688 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/5.862, allocations: 12 kB / 2.688 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/5.862, allocations: 4 kB / 2.688 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/5.862, allocations: 11.97 kB / 2.688 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/5.864, allocations: 1.374 MB / 2.689 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/5.864, allocations: 0 / 2.689 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/5.867, allocations: 435.4 kB / 2.69 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008979/5.868, allocations: 165.5 kB / 2.69 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/5.868, allocations: 51.89 kB / 2.69 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/5.871, allocations: 2.969 MB / 2.693 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.871, allocations: 4.031 kB / 2.693 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/5.88, allocations: 2.352 MB / 2.695 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008602/5.88, allocations: 494.9 kB / 2.695 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/5.881, allocations: 0 / 2.695 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/5.883, allocations: 223.5 kB / 2.696 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/5.884, allocations: 105.4 kB / 2.696 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/5.884, allocations: 83.92 kB / 2.696 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001191/5.885, allocations: 0.5895 MB / 2.696 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.885, allocations: 0 / 2.696 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002132/5.887, allocations: 0.5142 MB / 2.697 GB, free: 104 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002904/5.89, allocations: 1.325 MB / 2.698 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002692/5.893, allocations: 1.693 MB / 2.7 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/5.893, allocations: 4 kB / 2.7 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/5.894, allocations: 0.9307 MB / 2.701 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/5.896, allocations: 313.1 kB / 2.701 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/5.902, allocations: 2.358 MB / 2.703 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/5.903, allocations: 1.249 MB / 2.705 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002461/5.905, allocations: 0.5512 MB / 2.705 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/5.906, allocations: 187.3 kB / 2.705 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of SimCode: time 9.61e-07/5.906, allocations: 0 / 2.705 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.03789/5.944, allocations: 25.16 MB / 2.73 GB, free: 70.23 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)