Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 114 kB / 16.42 MB, free: 6.402 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.001118/0.001118, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.2/1.2, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7255/0.7255, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 66.61 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 80.93 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005668/0.1273, allocations: 4.877 MB / 0.67 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4077/0.535, allocations: 150.7 MB / 0.8172 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.5358, allocations: 30.94 kB / 0.8173 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.5368, allocations: 334.4 kB / 0.8176 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.5385, allocations: 497.2 kB / 0.8181 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.5406, allocations: 0.8262 MB / 0.8189 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.5421, allocations: 1.35 MB / 0.8202 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5431, allocations: 0.819 MB / 0.821 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006829/0.5438, allocations: 494.1 kB / 0.8215 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.5445, allocations: 0.5054 MB / 0.822 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.5447, allocations: 117.1 kB / 0.8221 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.5456, allocations: 490.3 kB / 0.8225 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.5459, allocations: 307 kB / 0.8228 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.5464, allocations: 0.5979 MB / 0.8234 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.5483, allocations: 1.757 MB / 0.8251 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5483, allocations: 4 kB / 0.8251 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5483, allocations: 0 / 0.8251 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.983e-05/0.5484, allocations: 0 / 0.8251 GB, free: 3.859 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002586/0.551, allocations: 1.563 MB / 0.8267 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.551, allocations: 14.52 kB / 0.8267 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.5519, allocations: 208.8 kB / 0.8269 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5532, allocations: 0.8766 MB / 0.8277 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.5533, allocations: 72.28 kB / 0.8278 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.5534, allocations: 88.66 kB / 0.8279 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5549, allocations: 0.9712 MB / 0.8288 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5549, allocations: 0 / 0.8288 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.555, allocations: 42.31 kB / 0.8289 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5551, allocations: 22.84 kB / 0.8289 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.5566, allocations: 1.124 MB / 0.83 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.5603, allocations: 2.643 MB / 0.8326 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.5614, allocations: 0.7025 MB / 0.8333 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.5619, allocations: 273.9 kB / 0.8335 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.5619, allocations: 29.06 kB / 0.8335 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/0.5626, allocations: 422.8 kB / 0.834 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.355e-06/0.5626, allocations: 0 / 0.834 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002577/0.5652, allocations: 1.077 MB / 0.835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.5653, allocations: 188 kB / 0.8352 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.5661, allocations: 0.7573 MB / 0.8359 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.5662, allocations: 43.42 kB / 0.836 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.5665, allocations: 488.2 kB / 0.8364 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.5667, allocations: 234.5 kB / 0.8367 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.5669, allocations: 146.5 kB / 0.8368 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.567, allocations: 330.8 kB / 0.8371 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.5674, allocations: 231.7 kB / 0.8373 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.5679, allocations: 322.2 kB / 0.8376 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.5688, allocations: 0.5353 MB / 0.8382 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5688, allocations: 10.23 kB / 0.8382 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001629/0.5704, allocations: 0.7768 MB / 0.8389 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5705, allocations: 7.375 kB / 0.8389 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5705, allocations: 0 / 0.8389 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.571, allocations: 79.91 kB / 0.839 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.5715, allocations: 142.4 kB / 0.8391 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.5734, allocations: 1.642 MB / 0.8408 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.574, allocations: 78.7 kB / 0.8408 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.5741, allocations: 32.47 kB / 0.8409 GB, free: 8.684 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003524/0.5745, allocations: 280.7 kB / 0.8411 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5746, allocations: 101.9 kB / 0.8412 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5766, allocations: 0.9754 MB / 0.8422 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5766, allocations: 6.016 kB / 0.8422 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5766, allocations: 0 / 0.8422 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.577, allocations: 267.6 kB / 0.8424 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5771, allocations: 17.25 kB / 0.8425 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.5776, allocations: 52.69 kB / 0.8425 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5778, allocations: 60.33 kB / 0.8426 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001664/0.5794, allocations: 0.8494 MB / 0.8434 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001779/0.5812, allocations: 1.274 MB / 0.8446 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004769/0.5817, allocations: 316.2 kB / 0.8449 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005758/0.5823, allocations: 0.5289 MB / 0.8455 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of Backend: time 5.41e-07/0.5823, allocations: 4 kB / 0.8455 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.5851, allocations: 1.191 MB / 0.8466 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003325/0.5885, allocations: 2.411 MB / 0.849 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.02546/0.6139, allocations: 17.19 MB / 0.8658 GB, free: 1.645 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)