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/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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009486/0.0009486, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00747/0.00747, allocations: 170.6 kB / 16.26 MB, free: 6.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.371/1.371, allocations: 223.2 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 12 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.383, allocations: 81.57 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004837/0.3879, allocations: 4.437 MB / 0.5881 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.5442, allocations: 146.8 MB / 0.7314 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.5451, allocations: 23.81 kB / 0.7315 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.5458, allocations: 290.2 kB / 0.7317 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.5471, allocations: 408.5 kB / 0.7321 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.5488, allocations: 0.7148 MB / 0.7328 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.5501, allocations: 1.247 MB / 0.7341 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.5512, allocations: 0.7856 MB / 0.7348 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.5517, allocations: 338.1 kB / 0.7351 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.5521, allocations: 377.5 kB / 0.7355 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.175e-05/0.5522, allocations: 24 kB / 0.7355 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.5529, allocations: 367.6 kB / 0.7359 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.5531, allocations: 187 kB / 0.7361 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.5535, allocations: 0.4905 MB / 0.7365 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5549, allocations: 1.615 MB / 0.7381 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5549, allocations: 0 / 0.7381 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5549, allocations: 0 / 0.7381 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.555, allocations: 0 / 0.7381 GB, free: 1.598 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002009/0.557, allocations: 1.326 MB / 0.7394 GB, free: 224 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.557, allocations: 8.031 kB / 0.7394 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.5572, allocations: 152 kB / 0.7396 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.5581, allocations: 223 kB / 0.7398 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.5592, allocations: 0.8477 MB / 0.7406 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.5593, allocations: 77.98 kB / 0.7407 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.5594, allocations: 92 kB / 0.7408 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.5611, allocations: 0.9692 MB / 0.7417 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.5611, allocations: 3.938 kB / 0.7417 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.5612, allocations: 43.94 kB / 0.7418 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.5612, allocations: 24 kB / 0.7418 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5629, allocations: 1.124 MB / 0.7429 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.5669, allocations: 2.727 MB / 0.7455 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5681, allocations: 0.7114 MB / 0.7462 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.5686, allocations: 278.4 kB / 0.7465 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.5687, allocations: 32.59 kB / 0.7465 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007297/0.5695, allocations: 421.7 kB / 0.7469 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.164e-06/0.5695, allocations: 3.938 kB / 0.7469 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002827/0.5723, allocations: 1.081 MB / 0.748 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5724, allocations: 192.5 kB / 0.7482 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.5733, allocations: 0.7514 MB / 0.7489 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.5734, allocations: 41.7 kB / 0.7489 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.5738, allocations: 499.9 kB / 0.7494 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.574, allocations: 232.7 kB / 0.7496 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.574, allocations: 49.64 kB / 0.7497 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5741, allocations: 334 kB / 0.75 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.5747, allocations: 213.2 kB / 0.7502 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.5752, allocations: 322.7 kB / 0.7505 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.5762, allocations: 0.535 MB / 0.751 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5762, allocations: 0 / 0.751 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001717/0.5779, allocations: 0.7312 MB / 0.7518 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5779, allocations: 11.98 kB / 0.7518 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.578, allocations: 96 / 0.7518 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.5786, allocations: 80.78 kB / 0.7518 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.5792, allocations: 135.8 kB / 0.752 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.5812, allocations: 1.546 MB / 0.7535 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.5818, allocations: 79.5 kB / 0.7536 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.5819, allocations: 23.98 kB / 0.7536 GB, free: 1.219 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: 6 (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 (72): * Single equations (assignments): 71 * 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.0004893/0.5824, allocations: 281.6 kB / 0.7539 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5825, allocations: 94.78 kB / 0.7539 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.5847, allocations: 0.9841 MB / 0.7549 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5847, allocations: 11.98 kB / 0.7549 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5847, allocations: 0 / 0.7549 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.5848, allocations: 3.984 kB / 0.7549 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5858, allocations: 0.9347 MB / 0.7558 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5858, allocations: 0 / 0.7558 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.5864, allocations: 135.8 kB / 0.756 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.5869, allocations: 84.77 kB / 0.756 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.587, allocations: 23.98 kB / 0.7561 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.5887, allocations: 1.56 MB / 0.7576 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5888, allocations: 0 / 0.7576 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5905, allocations: 0.8529 MB / 0.7584 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.5909, allocations: 291.5 kB / 0.7587 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.591, allocations: 15.94 kB / 0.7587 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.5916, allocations: 65.77 kB / 0.7588 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.5917, allocations: 64.91 kB / 0.7588 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.5918, allocations: 27.98 kB / 0.7589 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007142/0.5925, allocations: 0.5341 MB / 0.7594 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5925, allocations: 0 / 0.7594 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008181/0.5934, allocations: 307 kB / 0.7597 GB, free: 10.73 MB / 0.5919 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.003297/0.5967, allocations: 1.887 MB / 0.7615 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.5982, allocations: 0.7123 MB / 0.7622 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5982, allocations: 3.938 kB / 0.7622 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.599, allocations: 484.3 kB / 0.7627 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6008, allocations: 399.4 kB / 0.7631 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6147, allocations: 7.426 MB / 0.7703 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.6154, allocations: 1.074 MB / 0.7714 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009556/0.6164, allocations: 271.1 kB / 0.7716 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.617, allocations: 447.2 kB / 0.7721 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.617, allocations: 3.938 kB / 0.7721 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07942/0.6965, allocations: 22.54 MB / 0.7941 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.6967, allocations: 273.9 kB / 0.7943 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.09, allocations: 6.203 kB / 0.7943 GB, free: 7.434 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)