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.0009549/0.0009549, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6802/0.6802, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 56.38 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 80.21 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007458/0.3526, allocations: 6.227 MB / 0.5862 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/0.5193, allocations: 153.2 MB / 0.7358 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.5224, allocations: 31.81 kB / 0.7358 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.524, allocations: 309 kB / 0.7361 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.5274, allocations: 0.6522 MB / 0.7368 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.5315, allocations: 1.286 MB / 0.738 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003017/0.5345, allocations: 2.313 MB / 0.7403 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.5364, allocations: 1.068 MB / 0.7413 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.5376, allocations: 0.7669 MB / 0.7421 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.5384, allocations: 0.7933 MB / 0.7428 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.5387, allocations: 188 kB / 0.743 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.5403, allocations: 0.913 MB / 0.7439 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.5407, allocations: 494.4 kB / 0.7444 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.5414, allocations: 0.8976 MB / 0.7453 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.5439, allocations: 2.629 MB / 0.7478 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5439, allocations: 0 / 0.7478 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5439, allocations: 3.938 kB / 0.7478 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.544, allocations: 4 kB / 0.7478 GB, free: 5.129 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003089/0.5471, allocations: 2.162 MB / 0.7499 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5471, allocations: 8.031 kB / 0.75 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.5488, allocations: 354.3 kB / 0.7503 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5503, allocations: 1.204 MB / 0.7515 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.5504, allocations: 102.7 kB / 0.7516 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5506, allocations: 124 kB / 0.7517 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.5529, allocations: 1.524 MB / 0.7532 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.5529, allocations: 0 / 0.7532 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.553, allocations: 60 kB / 0.7532 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.5531, allocations: 32 kB / 0.7533 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.556, allocations: 2.047 MB / 0.7553 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.5619, allocations: 4.444 MB / 0.7596 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.5644, allocations: 1.427 MB / 0.761 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.5654, allocations: 0.536 MB / 0.7615 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5655, allocations: 57.19 kB / 0.7616 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.5669, allocations: 0.792 MB / 0.7623 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 2.925e-06/0.5669, allocations: 0 / 0.7623 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.005281/0.5722, allocations: 2.112 MB / 0.7644 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.5723, allocations: 351.3 kB / 0.7647 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.5735, allocations: 1.071 MB / 0.7658 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.142e-05/0.5736, allocations: 53.7 kB / 0.7658 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.5741, allocations: 0.6066 MB / 0.7664 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.5744, allocations: 465.4 kB / 0.7669 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.5748, allocations: 282.6 kB / 0.7671 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5749, allocations: 365.9 kB / 0.7675 GB, free: 492 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/0.5758, allocations: 470.3 kB / 0.7679 GB, free: 20 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5769, allocations: 0.6574 MB / 0.7686 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.5788, allocations: 1.116 MB / 0.7697 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5789, allocations: 0 / 0.7697 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003341/0.5822, allocations: 1.524 MB / 0.7712 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5822, allocations: 10.03 kB / 0.7712 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5823, allocations: 0 / 0.7712 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5833, allocations: 165.7 kB / 0.7713 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5844, allocations: 295.5 kB / 0.7716 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/0.5881, allocations: 3.287 MB / 0.7748 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5893, allocations: 154.8 kB / 0.775 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5894, allocations: 71.94 kB / 0.775 GB, free: 8.375 MB / 0.6075 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.0006863/0.5901, allocations: 381.9 kB / 0.7754 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.5905, allocations: 150.2 kB / 0.7755 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/0.5949, allocations: 1.984 MB / 0.7775 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.5949, allocations: 16 kB / 0.7775 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.595, allocations: 0 / 0.7775 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.595, allocations: 7.969 kB / 0.7775 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.5968, allocations: 1.472 MB / 0.7789 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5968, allocations: 0 / 0.7789 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5978, allocations: 283.6 kB / 0.7792 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008123/0.5986, allocations: 141.6 kB / 0.7793 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5988, allocations: 51.89 kB / 0.7794 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.6023, allocations: 3.343 MB / 0.7827 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6023, allocations: 128 / 0.7827 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.6058, allocations: 1.619 MB / 0.7842 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.6065, allocations: 422.6 kB / 0.7846 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.6067, allocations: 43.94 kB / 0.7847 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/0.6077, allocations: 103.9 kB / 0.7848 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.6079, allocations: 129.7 kB / 0.7849 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.608, allocations: 60.06 kB / 0.785 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001041/0.6091, allocations: 0.7455 MB / 0.7857 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6091, allocations: 0 / 0.7857 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001287/0.6104, allocations: 474.9 kB / 0.7861 GB, free: 12.58 MB / 0.6231 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.001383/0.6118, allocations: 0.6385 MB / 0.7868 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.6157, allocations: 1.862 MB / 0.7886 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6157, allocations: 4 kB / 0.7886 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.6174, allocations: 0.9536 MB / 0.7895 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.6193, allocations: 0.5474 MB / 0.7901 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.6256, allocations: 3.067 MB / 0.793 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.6265, allocations: 1.29 MB / 0.7943 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001452/0.628, allocations: 0.4918 MB / 0.7948 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.6284, allocations: 183.3 kB / 0.795 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6284, allocations: 4 kB / 0.795 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of Templates: time 0.2638/0.8922, allocations: 25.6 MB / 0.82 GB, free: 211.6 MB / 0.6387 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)