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.001168/0.001168, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001295/0.001295, allocations: 198.4 kB / 16.25 MB, free: 6.617 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 65.06 kB / 0.5013 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1767, allocations: 80.22 MB / 0.5796 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008308/0.185, allocations: 6.185 MB / 0.5856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5003/0.6853, allocations: 150.9 MB / 0.733 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.6871, allocations: 38.78 kB / 0.7331 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009649/0.6881, allocations: 247.1 kB / 0.7333 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.6903, allocations: 0.567 MB / 0.7339 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.6935, allocations: 1.168 MB / 0.735 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002637/0.6961, allocations: 2.316 MB / 0.7373 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6974, allocations: 1.072 MB / 0.7383 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.6984, allocations: 0.7807 MB / 0.7391 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.6993, allocations: 0.8017 MB / 0.7399 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.6995, allocations: 188.8 kB / 0.74 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.701, allocations: 0.9086 MB / 0.7409 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.7014, allocations: 490.9 kB / 0.7414 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.7021, allocations: 0.9025 MB / 0.7423 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.7047, allocations: 2.644 MB / 0.7449 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7047, allocations: 0 / 0.7449 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7047, allocations: 0 / 0.7449 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.7047, allocations: 0 / 0.7449 GB, free: 9.164 MB / 0.5606 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.003556/0.7083, allocations: 2.153 MB / 0.747 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7083, allocations: 9.969 kB / 0.747 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.7102, allocations: 358.8 kB / 0.7473 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7118, allocations: 1.198 MB / 0.7485 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.7119, allocations: 106.7 kB / 0.7486 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.712, allocations: 124 kB / 0.7487 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.7146, allocations: 1.524 MB / 0.7502 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.7146, allocations: 3.938 kB / 0.7502 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.7148, allocations: 56 kB / 0.7503 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.7148, allocations: 36 kB / 0.7503 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.7181, allocations: 2.043 MB / 0.7523 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00681/0.7249, allocations: 4.44 MB / 0.7566 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.7276, allocations: 1.433 MB / 0.758 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.7287, allocations: 0.5396 MB / 0.7585 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.7288, allocations: 53.19 kB / 0.7586 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/0.7303, allocations: 0.7995 MB / 0.7594 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.045e-06/0.7303, allocations: 0 / 0.7594 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005905/0.7362, allocations: 2.104 MB / 0.7614 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.7364, allocations: 355.2 kB / 0.7618 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.7379, allocations: 1.075 MB / 0.7628 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.7381, allocations: 49.7 kB / 0.7629 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.7386, allocations: 0.6105 MB / 0.7635 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.7391, allocations: 449.5 kB / 0.7639 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/0.7395, allocations: 290.6 kB / 0.7642 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7397, allocations: 361.9 kB / 0.7645 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.7407, allocations: 474.3 kB / 0.765 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.7422, allocations: 0.6535 MB / 0.7656 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.7443, allocations: 1.121 MB / 0.7667 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7443, allocations: 4 kB / 0.7667 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00405/0.7484, allocations: 1.516 MB / 0.7682 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7484, allocations: 15.97 kB / 0.7682 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7485, allocations: 0 / 0.7682 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.7496, allocations: 165.5 kB / 0.7684 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7508, allocations: 299.5 kB / 0.7686 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.7552, allocations: 3.283 MB / 0.7718 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.7569, allocations: 167.2 kB / 0.772 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.757, allocations: 63.95 kB / 0.7721 GB, free: 13.21 MB / 0.5919 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.0008555/0.7579, allocations: 382 kB / 0.7724 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.7582, allocations: 154.1 kB / 0.7726 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.763, allocations: 1.974 MB / 0.7745 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.763, allocations: 23.92 kB / 0.7745 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.763, allocations: 0 / 0.7745 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.763, allocations: 7.969 kB / 0.7745 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.7653, allocations: 1.462 MB / 0.776 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.7653, allocations: 0 / 0.776 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.7665, allocations: 275.6 kB / 0.7762 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/0.7674, allocations: 149.6 kB / 0.7764 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7675, allocations: 43.97 kB / 0.7764 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.7715, allocations: 3.343 MB / 0.7797 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7716, allocations: 4.031 kB / 0.7797 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.7755, allocations: 1.615 MB / 0.7813 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008065/0.7764, allocations: 426.8 kB / 0.7817 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.7767, allocations: 32 kB / 0.7817 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7779, allocations: 117.8 kB / 0.7818 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.7781, allocations: 125.7 kB / 0.7819 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.7783, allocations: 59.97 kB / 0.782 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001217/0.7795, allocations: 0.7456 MB / 0.7827 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7795, allocations: 0 / 0.7827 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001471/0.781, allocations: 478.9 kB / 0.7832 GB, free: 1.43 MB / 0.5919 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.001522/0.7825, allocations: 0.6306 MB / 0.7838 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004503/0.787, allocations: 1.866 MB / 0.7856 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.787, allocations: 0 / 0.7856 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.7889, allocations: 0.9536 MB / 0.7865 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.7913, allocations: 0.5527 MB / 0.7871 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.7989, allocations: 3.761 MB / 0.7908 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.8, allocations: 1.282 MB / 0.792 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001821/0.8018, allocations: 0.4948 MB / 0.7925 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.8023, allocations: 183.3 kB / 0.7927 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.8023, allocations: 0 / 0.7927 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.04527/0.8476, allocations: 25.5 MB / 0.8176 GB, free: 14.66 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)