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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 99 kB / 15.05 MB, free: 1.105 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.001492/0.001492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4414/0.4414, allocations: 54.98 MB / 325.3 MB, free: 0.7539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008479/0.000848, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3615, allocations: 60.71 MB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005945/0.3675, allocations: 4.898 MB / 462.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.163/0.5305, allocations: 129.4 MB / 0.5777 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5316, allocations: 23.88 kB / 0.5777 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.5321, allocations: 111 kB / 0.5778 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.5338, allocations: 0.5988 MB / 0.5784 GB, free: 328 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.5363, allocations: 0.9377 MB / 0.5793 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.5384, allocations: 1.335 MB / 0.5806 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5394, allocations: 0.6645 MB / 0.5813 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.5403, allocations: 0.5486 MB / 0.5818 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.5409, allocations: 0.5014 MB / 0.5823 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5411, allocations: 36 kB / 0.5823 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.5425, allocations: 0.667 MB / 0.583 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.5428, allocations: 274.9 kB / 0.5832 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.5431, allocations: 296.8 kB / 0.5835 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.545, allocations: 1.774 MB / 0.5852 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.545, allocations: 0 / 0.5852 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.545, allocations: 0 / 0.5852 GB, free: 9.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.5451, allocations: 4.688 kB / 0.5853 GB, free: 9.297 MB / 462.1 MB 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.00298/0.5481, allocations: 1.7 MB / 0.5869 GB, free: 7.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5481, allocations: 8.031 kB / 0.5869 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009473/0.5576, allocations: 1.093 MB / 0.588 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.5604, allocations: 1.021 MB / 0.589 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.5605, allocations: 102.6 kB / 0.5891 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.5608, allocations: 125.7 kB / 0.5892 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006215/0.567, allocations: 1.823 MB / 0.591 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.5671, allocations: 7.938 kB / 0.591 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.5673, allocations: 59.98 kB / 0.591 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.5673, allocations: 36 kB / 0.5911 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009355/0.5767, allocations: 2.63 MB / 0.5937 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.588, allocations: 4.813 MB / 0.5984 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.5992, allocations: 2.294 MB / 0.6006 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.6, allocations: 0.4909 MB / 0.6011 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004434/0.6044, allocations: 1.146 MB / 0.6022 GB, free: 7.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=137): time 3.647e-06/0.6044, allocations: 0 / 0.6022 GB, free: 7.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=137): time 0.0139/0.6184, allocations: 2.988 MB / 0.6051 GB, free: 4.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6185, allocations: 201 kB / 0.6053 GB, free: 4.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.6198, allocations: 0.9103 MB / 0.6062 GB, free: 3.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.62, allocations: 53.7 kB / 0.6062 GB, free: 3.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.6205, allocations: 0.5322 MB / 0.6068 GB, free: 2.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004752/0.621, allocations: 449.4 kB / 0.6072 GB, free: 2.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.6211, allocations: 27.94 kB / 0.6072 GB, free: 2.273 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6212, allocations: 353.9 kB / 0.6076 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/0.6249, allocations: 0.7401 MB / 0.6083 GB, free: 1.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.6292, allocations: 0.896 MB / 0.6091 GB, free: 244 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/0.6332, allocations: 0.7743 MB / 0.6099 GB, free: 15.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.6332, allocations: 0 / 0.6099 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.009373/0.6426, allocations: 2.009 MB / 0.6119 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.6426, allocations: 8 kB / 0.6119 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6427, allocations: 4.234 kB / 0.6119 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.6438, allocations: 173.5 kB / 0.612 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.6466, allocations: 439.3 kB / 0.6125 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.6506, allocations: 3.081 MB / 0.6155 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.6534, allocations: 274.7 kB / 0.6157 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.6536, allocations: 74.5 kB / 0.6158 GB, free: 9.125 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * 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.000741/0.6543, allocations: 360.1 kB / 0.6161 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.6546, allocations: 138.3 kB / 0.6163 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.6653, allocations: 2.491 MB / 0.6187 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.6653, allocations: 16 kB / 0.6187 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6654, allocations: 4 kB / 0.6187 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.6654, allocations: 7.969 kB / 0.6187 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.6677, allocations: 1.492 MB / 0.6202 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6678, allocations: 0 / 0.6202 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/0.6706, allocations: 439.4 kB / 0.6206 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.6717, allocations: 173.5 kB / 0.6208 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.6719, allocations: 59.94 kB / 0.6208 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.6759, allocations: 3.131 MB / 0.6239 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6759, allocations: 3.938 kB / 0.6239 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009557/0.6855, allocations: 2.144 MB / 0.626 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009658/0.6865, allocations: 482.6 kB / 0.6265 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.6867, allocations: 31.98 kB / 0.6265 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/0.6891, allocations: 231.7 kB / 0.6267 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.6894, allocations: 109.1 kB / 0.6268 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.6895, allocations: 71.94 kB / 0.6269 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009804/0.6905, allocations: 0.6437 MB / 0.6275 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6905, allocations: 0 / 0.6275 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001457/0.692, allocations: 458.9 kB / 0.6279 GB, free: 12.3 MB / 0.4981 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) * Number of clocked states: 0 () * 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.001434/0.6934, allocations: 0.6347 MB / 0.6286 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008989/0.7024, allocations: 2.051 MB / 0.6306 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7025, allocations: 0 / 0.6306 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/0.7071, allocations: 1.246 MB / 0.6318 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.7089, allocations: 360.9 kB / 0.6321 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/0.7183, allocations: 3.783 MB / 0.6358 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/0.7192, allocations: 1.265 MB / 0.6371 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002288/0.7215, allocations: 0.543 MB / 0.6376 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.722, allocations: 187.3 kB / 0.6378 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.722, allocations: 0 / 0.6378 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.2328/0.9548, allocations: 21.91 MB / 0.6592 GB, free: 154.1 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: