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.0008355/0.0008355, allocations: 100.3 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.0009051/0.0009052, allocations: 177.3 kB / 15.95 MB, free: 216 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.183/1.183, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8667/0.8667, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.00027, allocations: 8 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1413, allocations: 82.32 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004355/0.1457, allocations: 4.118 MB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3685/0.5143, allocations: 127.7 MB / 0.7159 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.5149, allocations: 21.5 kB / 0.716 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.5152, allocations: 93 kB / 0.716 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.5165, allocations: 0.5167 MB / 0.7165 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.518, allocations: 0.6199 MB / 0.7172 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.5193, allocations: 0.9744 MB / 0.7181 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.52, allocations: 0.5743 MB / 0.7187 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.5205, allocations: 332 kB / 0.719 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.5209, allocations: 335.1 kB / 0.7193 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.521, allocations: 24.22 kB / 0.7193 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.5217, allocations: 306.3 kB / 0.7196 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.5219, allocations: 183.8 kB / 0.7198 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.5221, allocations: 218.2 kB / 0.72 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.5236, allocations: 1.271 MB / 0.7212 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5236, allocations: 0 / 0.7212 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5236, allocations: 0 / 0.7212 GB, free: 12.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.5237, allocations: 4 kB / 0.7212 GB, free: 12.08 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.002193/0.5259, allocations: 1.339 MB / 0.7226 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5259, allocations: 8.875 kB / 0.7226 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/0.5268, allocations: 226.2 kB / 0.7228 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.528, allocations: 0.8161 MB / 0.7236 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.5281, allocations: 70.44 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5282, allocations: 93.97 kB / 0.7237 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5298, allocations: 0.9538 MB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5298, allocations: 0 / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.5299, allocations: 45.14 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5299, allocations: 24.81 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5318, allocations: 1.117 MB / 0.7258 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.536, allocations: 2.732 MB / 0.7285 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5372, allocations: 0.7138 MB / 0.7292 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.5373, allocations: 32.72 kB / 0.7292 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/0.5381, allocations: 413.4 kB / 0.7296 GB, free: 7.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 2.424e-06/0.5381, allocations: 3.062 kB / 0.7296 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.002853/0.5409, allocations: 1.084 MB / 0.7307 GB, free: 7.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5411, allocations: 187.9 kB / 0.7309 GB, free: 7.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.542, allocations: 0.7477 MB / 0.7316 GB, free: 6.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.5421, allocations: 40.92 kB / 0.7316 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.5425, allocations: 0.4949 MB / 0.7321 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.5427, allocations: 222.7 kB / 0.7323 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.5427, allocations: 10.47 kB / 0.7323 GB, free: 6.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5428, allocations: 335.9 kB / 0.7326 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.5432, allocations: 211.1 kB / 0.7328 GB, free: 5.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.5436, allocations: 317.5 kB / 0.7332 GB, free: 5.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.5441, allocations: 265.9 kB / 0.7334 GB, free: 5.516 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5441, allocations: 3.219 kB / 0.7334 GB, free: 5.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001444/0.5456, allocations: 0.7286 MB / 0.7341 GB, free: 5.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5456, allocations: 4.781 kB / 0.7341 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5456, allocations: 0 / 0.7341 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.5462, allocations: 88.41 kB / 0.7342 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.5467, allocations: 135.4 kB / 0.7343 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5486, allocations: 1.542 MB / 0.7358 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/0.5492, allocations: 86.36 kB / 0.7359 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.5493, allocations: 25.2 kB / 0.7359 GB, free: 3.41 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.0004744/0.5497, allocations: 274.8 kB / 0.7362 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5499, allocations: 94.78 kB / 0.7363 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.5518, allocations: 0.9871 MB / 0.7373 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.5518, allocations: 16 kB / 0.7373 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.5518, allocations: 0 / 0.7373 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5518, allocations: 5.016 kB / 0.7373 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5529, allocations: 0.9387 MB / 0.7382 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.553, allocations: 0 / 0.7382 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.5535, allocations: 139.8 kB / 0.7383 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.5539, allocations: 84.78 kB / 0.7384 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.554, allocations: 19.98 kB / 0.7384 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.5556, allocations: 1.575 MB / 0.74 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5556, allocations: 0 / 0.74 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.5571, allocations: 0.849 MB / 0.7408 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.5575, allocations: 287.4 kB / 0.7411 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5576, allocations: 16 kB / 0.7411 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.5581, allocations: 63.95 kB / 0.7412 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5582, allocations: 60.91 kB / 0.7412 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.5583, allocations: 31.98 kB / 0.7412 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006027/0.5589, allocations: 0.5263 MB / 0.7418 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5589, allocations: 0 / 0.7418 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008008/0.5597, allocations: 307.1 kB / 0.742 GB, free: 13.17 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.001162/0.5609, allocations: 0.5954 MB / 0.7426 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.5622, allocations: 0.7075 MB / 0.7433 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5622, allocations: 0 / 0.7433 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.563, allocations: 481 kB / 0.7438 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.5643, allocations: 378.9 kB / 0.7441 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.5682, allocations: 2.351 MB / 0.7464 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.5688, allocations: 1.094 MB / 0.7475 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008835/0.5697, allocations: 279.1 kB / 0.7478 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.5699, allocations: 99.39 kB / 0.7479 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5699, allocations: 0 / 0.7479 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of Templates: time 0.02298/0.5929, allocations: 14.75 MB / 0.7623 GB, free: 8.742 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: