Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00912/0.00912, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.00169/0.001691, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.45 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.205, allocations: 80.2 MB / 0.6596 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008835/0.2139, allocations: 6.223 MB / 0.6657 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7339/0.9479, allocations: 153.2 MB / 0.8153 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.95, allocations: 35.94 kB / 0.8154 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009947/0.9511, allocations: 312 kB / 0.8157 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.9535, allocations: 0.6617 MB / 0.8163 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.9581, allocations: 1.298 MB / 0.8176 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.9625, allocations: 2.323 MB / 0.8199 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.9645, allocations: 1.066 MB / 0.8209 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.9668, allocations: 0.788 MB / 0.8217 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.9682, allocations: 0.7914 MB / 0.8224 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.9685, allocations: 187.3 kB / 0.8226 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.9711, allocations: 0.9441 MB / 0.8235 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005828/0.9717, allocations: 492.9 kB / 0.824 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.9729, allocations: 0.8944 MB / 0.8249 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004639/0.9776, allocations: 2.717 MB / 0.8275 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9776, allocations: 4.641 kB / 0.8275 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.155e-06/0.9776, allocations: 2.094 kB / 0.8275 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.345e-05/0.9776, allocations: 0 / 0.8275 GB, free: 2.688 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004179/0.9818, allocations: 2.155 MB / 0.8297 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9819, allocations: 10.38 kB / 0.8297 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.9839, allocations: 363 kB / 0.83 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.9858, allocations: 1.236 MB / 0.8312 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.9859, allocations: 101.8 kB / 0.8313 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.9861, allocations: 129.5 kB / 0.8314 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.9891, allocations: 1.522 MB / 0.8329 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.9891, allocations: 1.375 kB / 0.8329 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.9893, allocations: 59.66 kB / 0.833 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.9893, allocations: 33 kB / 0.833 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.993, allocations: 2.042 MB / 0.835 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007175/1, allocations: 4.389 MB / 0.8393 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/1.003, allocations: 1.434 MB / 0.8407 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009931/1.004, allocations: 0.5365 MB / 0.8412 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/1.004, allocations: 61.73 kB / 0.8413 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/1.005, allocations: 0.7882 MB / 0.842 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 3.387e-06/1.005, allocations: 0 / 0.842 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.005955/1.011, allocations: 2.111 MB / 0.8441 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/1.012, allocations: 354.9 kB / 0.8444 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.013, allocations: 1.079 MB / 0.8455 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.013, allocations: 55.3 kB / 0.8456 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/1.014, allocations: 0.6028 MB / 0.8461 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/1.014, allocations: 452.2 kB / 0.8466 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/1.015, allocations: 285.2 kB / 0.8468 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.015, allocations: 361.6 kB / 0.8472 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.016, allocations: 478.3 kB / 0.8476 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/1.017, allocations: 0.6512 MB / 0.8483 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.02, allocations: 1.123 MB / 0.8494 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.02, allocations: 4 kB / 0.8494 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003898/1.024, allocations: 1.514 MB / 0.8509 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.024, allocations: 8.406 kB / 0.8509 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.024, allocations: 4.75 kB / 0.8509 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/1.025, allocations: 167.1 kB / 0.851 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.026, allocations: 292.7 kB / 0.8513 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/1.03, allocations: 3.287 MB / 0.8545 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.032, allocations: 153.9 kB / 0.8547 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.032, allocations: 67.72 kB / 0.8547 GB, free: 10.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.033, allocations: 399.8 kB / 0.8551 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/1.033, allocations: 152 kB / 0.8553 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/1.038, allocations: 1.957 MB / 0.8572 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.038, allocations: 20.25 kB / 0.8572 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.038, allocations: 6.469 kB / 0.8572 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/1.038, allocations: 5.766 kB / 0.8572 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/1.04, allocations: 1.455 MB / 0.8586 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.04, allocations: 2.656 kB / 0.8586 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.041, allocations: 279.9 kB / 0.8589 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008318/1.042, allocations: 148 kB / 0.859 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/1.042, allocations: 45.2 kB / 0.8591 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/1.046, allocations: 3.347 MB / 0.8623 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.046, allocations: 2.812 kB / 0.8623 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/1.049, allocations: 1.619 MB / 0.8639 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006731/1.05, allocations: 432.2 kB / 0.8643 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.05, allocations: 31.75 kB / 0.8644 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.051, allocations: 110.7 kB / 0.8645 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.052, allocations: 115.2 kB / 0.8646 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.052, allocations: 66.2 kB / 0.8646 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001108/1.053, allocations: 0.7427 MB / 0.8654 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.053, allocations: 0 / 0.8654 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001565/1.055, allocations: 485.9 kB / 0.8658 GB, free: 6.25 MB / 0.6544 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.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/1.056, allocations: 0.624 MB / 0.8664 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003521/1.06, allocations: 1.523 MB / 0.8679 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.06, allocations: 3.188 kB / 0.8679 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.061, allocations: 0.9529 MB / 0.8689 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.064, allocations: 0.5489 MB / 0.8694 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/1.071, allocations: 3.038 MB / 0.8724 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.072, allocations: 1.292 MB / 0.8736 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00215/1.074, allocations: 496.9 kB / 0.8741 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/1.075, allocations: 180.9 kB / 0.8743 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/1.075, allocations: 4 kB / 0.8743 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of Templates: time 0.05375/1.128, allocations: 25.94 MB / 0.8996 GB, free: 15.64 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)