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.001031/0.001031, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.0009756/0.0009756, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7674/0.7674, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3601, allocations: 80.9 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005785/0.3659, allocations: 4.882 MB / 0.5905 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1737/0.5397, allocations: 150.7 MB / 0.7377 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.5411, allocations: 27.81 kB / 0.7378 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.5421, allocations: 337.6 kB / 0.7381 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.5439, allocations: 0.4891 MB / 0.7386 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5459, allocations: 0.8174 MB / 0.7394 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.5476, allocations: 1.348 MB / 0.7407 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.5487, allocations: 0.8193 MB / 0.7415 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007451/0.5494, allocations: 490.1 kB / 0.7419 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.55, allocations: 0.5053 MB / 0.7424 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.5501, allocations: 120 kB / 0.7425 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5513, allocations: 483.6 kB / 0.743 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.5516, allocations: 310.9 kB / 0.7433 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.5521, allocations: 0.6021 MB / 0.7439 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.5541, allocations: 1.752 MB / 0.7456 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5541, allocations: 4 kB / 0.7456 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5541, allocations: 0 / 0.7456 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.5542, allocations: 0 / 0.7456 GB, free: 6.297 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002687/0.5569, allocations: 1.567 MB / 0.7471 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5569, allocations: 9.109 kB / 0.7471 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.5578, allocations: 215.1 kB / 0.7473 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.5592, allocations: 0.8751 MB / 0.7482 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.5593, allocations: 70 kB / 0.7483 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5594, allocations: 92 kB / 0.7484 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5609, allocations: 0.9691 MB / 0.7493 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.561, allocations: 0 / 0.7493 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.5611, allocations: 40 kB / 0.7493 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.5611, allocations: 24 kB / 0.7494 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.5628, allocations: 1.12 MB / 0.7505 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/0.8468, allocations: 2.65 MB / 0.753 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.8486, allocations: 0.7036 MB / 0.7537 GB, free: 164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.8492, allocations: 268.1 kB / 0.754 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.8493, allocations: 32.77 kB / 0.754 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.8502, allocations: 413.4 kB / 0.7544 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 5.35e-06/0.8502, allocations: 0.5312 kB / 0.7544 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.003083/0.8533, allocations: 1.075 MB / 0.7555 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.8534, allocations: 196.5 kB / 0.7557 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.8548, allocations: 0.7543 MB / 0.7564 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.8549, allocations: 37.89 kB / 0.7564 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.8554, allocations: 499.4 kB / 0.7569 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.8556, allocations: 227 kB / 0.7571 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.8559, allocations: 147.5 kB / 0.7573 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.856, allocations: 334.8 kB / 0.7576 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.8565, allocations: 233.3 kB / 0.7578 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.857, allocations: 320.5 kB / 0.7581 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009822/0.858, allocations: 0.5429 MB / 0.7586 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.858, allocations: 0 / 0.7586 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001976/0.86, allocations: 0.7784 MB / 0.7594 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.86, allocations: 5.5 kB / 0.7594 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.86, allocations: 1.844 kB / 0.7594 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.8606, allocations: 80.36 kB / 0.7595 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.8612, allocations: 140.2 kB / 0.7596 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.8631, allocations: 1.65 MB / 0.7612 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.8637, allocations: 78.28 kB / 0.7613 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/0.8638, allocations: 36.3 kB / 0.7613 GB, free: 159.4 MB / 0.5762 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.0003741/0.8642, allocations: 277.6 kB / 0.7616 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8643, allocations: 97.27 kB / 0.7617 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.8663, allocations: 0.9688 MB / 0.7626 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.8663, allocations: 8.219 kB / 0.7626 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.8663, allocations: 1.062 kB / 0.7626 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.8664, allocations: 5.672 kB / 0.7627 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.8672, allocations: 0.9413 MB / 0.7636 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8672, allocations: 0.9688 kB / 0.7636 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.8677, allocations: 136.5 kB / 0.7637 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.8681, allocations: 76.66 kB / 0.7638 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.8682, allocations: 23.55 kB / 0.7638 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.8696, allocations: 1.663 MB / 0.7654 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.8696, allocations: 2.469 kB / 0.7654 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.8711, allocations: 0.8447 MB / 0.7663 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.8714, allocations: 274 kB / 0.7665 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.8715, allocations: 20.19 kB / 0.7665 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.8719, allocations: 50.89 kB / 0.7666 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.872, allocations: 61.12 kB / 0.7666 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.8721, allocations: 29.2 kB / 0.7667 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004997/0.8726, allocations: 0.5293 MB / 0.7672 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8726, allocations: 0 / 0.7672 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006786/0.8733, allocations: 307.2 kB / 0.7675 GB, free: 155.1 MB / 0.5762 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.8745, allocations: 0.5959 MB / 0.7681 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.8757, allocations: 0.7444 MB / 0.7688 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8757, allocations: 4 kB / 0.7688 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.8763, allocations: 483.8 kB / 0.7693 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8775, allocations: 454.5 kB / 0.7697 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.8805, allocations: 1.899 MB / 0.7715 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8808, allocations: 1.073 MB / 0.7726 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006504/0.8815, allocations: 273.7 kB / 0.7728 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.8817, allocations: 103.4 kB / 0.7729 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.8817, allocations: 4 kB / 0.7729 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01977/0.9015, allocations: 15.87 MB / 0.7884 GB, free: 134.1 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)