Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008691/0.0008691, allocations: 99.7 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.0008814/0.0008815, 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 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.834/0.834, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 12 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004549/0.1485, allocations: 4.126 MB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3657/0.5142, allocations: 127.7 MB / 0.7159 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.5148, allocations: 28.78 kB / 0.716 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.5152, allocations: 89.73 kB / 0.716 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.5165, allocations: 0.5126 MB / 0.7165 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.5181, allocations: 0.6231 MB / 0.7171 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.5196, allocations: 0.9777 MB / 0.7181 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.5204, allocations: 0.5762 MB / 0.7187 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.5209, allocations: 329.9 kB / 0.719 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.5213, allocations: 330.7 kB / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.5213, allocations: 22.31 kB / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.5221, allocations: 310.2 kB / 0.7196 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.5224, allocations: 187.5 kB / 0.7198 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.5226, allocations: 218.3 kB / 0.72 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.5241, allocations: 1.272 MB / 0.7212 GB, free: 12.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.5241, allocations: 0 / 0.7212 GB, free: 12.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5241, allocations: 1.562 kB / 0.7212 GB, free: 12.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5241, allocations: 0 / 0.7212 GB, free: 12.1 MB / 0.545 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.002299/0.5264, allocations: 1.337 MB / 0.7225 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5265, allocations: 8.844 kB / 0.7226 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.5274, allocations: 221.9 kB / 0.7228 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5287, allocations: 0.8132 MB / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.5288, allocations: 78.28 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5289, allocations: 88.06 kB / 0.7237 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.5306, allocations: 0.963 MB / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5306, allocations: 0 / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.5307, allocations: 41.08 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5308, allocations: 22.84 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.5327, allocations: 1.126 MB / 0.7258 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.5369, allocations: 2.729 MB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5381, allocations: 0.7129 MB / 0.7292 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.5382, allocations: 32.62 kB / 0.7292 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006849/0.5389, allocations: 415 kB / 0.7296 GB, free: 7.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 1.954e-06/0.5389, allocations: 0 / 0.7296 GB, free: 7.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.00248/0.5414, allocations: 1.086 MB / 0.7307 GB, free: 7.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.5415, allocations: 191.4 kB / 0.7309 GB, free: 7.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.5423, allocations: 0.7454 MB / 0.7316 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.5424, allocations: 40.64 kB / 0.7316 GB, free: 6.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.5427, allocations: 0.4894 MB / 0.7321 GB, free: 6.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5429, allocations: 224 kB / 0.7323 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.5429, allocations: 11.31 kB / 0.7323 GB, free: 6.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.543, allocations: 330.1 kB / 0.7326 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.5434, allocations: 216.1 kB / 0.7328 GB, free: 5.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.5438, allocations: 319.8 kB / 0.7331 GB, free: 5.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.5442, allocations: 254 kB / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5443, allocations: 3 kB / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001444/0.5457, allocations: 0.7346 MB / 0.7341 GB, free: 5.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5457, allocations: 8.875 kB / 0.7341 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5457, allocations: 0.875 kB / 0.7341 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.5463, allocations: 89.17 kB / 0.7342 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.5468, allocations: 132.8 kB / 0.7343 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5486, allocations: 1.556 MB / 0.7358 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.5491, allocations: 72.62 kB / 0.7359 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.5492, allocations: 27.98 kB / 0.7359 GB, free: 3.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.5496, allocations: 275.5 kB / 0.7362 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5498, allocations: 94.78 kB / 0.7363 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.5517, allocations: 0.9929 MB / 0.7373 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5518, allocations: 11.94 kB / 0.7373 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.5518, allocations: 0 / 0.7373 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.5518, allocations: 4.078 kB / 0.7373 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009693/0.5528, allocations: 0.9379 MB / 0.7382 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5528, allocations: 0 / 0.7382 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.5533, allocations: 139.8 kB / 0.7383 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.5538, allocations: 84.77 kB / 0.7384 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.5538, allocations: 24.08 kB / 0.7384 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.5554, allocations: 1.571 MB / 0.74 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5554, allocations: 0 / 0.74 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.557, allocations: 0.849 MB / 0.7408 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.5573, allocations: 291.4 kB / 0.7411 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5575, allocations: 16 kB / 0.7411 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.558, allocations: 67.94 kB / 0.7412 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.5581, allocations: 52.92 kB / 0.7412 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.5581, allocations: 31.98 kB / 0.7412 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005979/0.5587, allocations: 0.5224 MB / 0.7417 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 0 / 0.7417 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007621/0.5595, allocations: 311 kB / 0.742 GB, free: 13.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.5606, allocations: 0.5944 MB / 0.7426 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.5619, allocations: 0.7077 MB / 0.7433 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5619, allocations: 0 / 0.7433 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.5626, allocations: 484.8 kB / 0.7438 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.564, allocations: 373.4 kB / 0.7441 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.5678, allocations: 2.352 MB / 0.7464 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.5684, allocations: 1.094 MB / 0.7475 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008471/0.5693, allocations: 275.1 kB / 0.7478 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5695, allocations: 107.4 kB / 0.7479 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5695, allocations: 0 / 0.7479 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.02322/0.5928, allocations: 14.75 MB / 0.7623 GB, free: 8.703 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) Environment - environmentSimulation: