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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9765/0.9765, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.22 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00658/0.1535, allocations: 4.851 MB / 0.5892 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3767/0.5303, allocations: 150.7 MB / 0.7364 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.5312, allocations: 27.28 kB / 0.7364 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.532, allocations: 341.3 kB / 0.7368 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.5334, allocations: 498.7 kB / 0.7373 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5353, allocations: 0.815 MB / 0.738 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.5366, allocations: 1.34 MB / 0.7394 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5376, allocations: 0.8067 MB / 0.7401 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.5381, allocations: 489.5 kB / 0.7406 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.5386, allocations: 0.5031 MB / 0.7411 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.5388, allocations: 120.1 kB / 0.7412 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.5395, allocations: 463.6 kB / 0.7417 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.5398, allocations: 301.5 kB / 0.7419 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.5402, allocations: 0.592 MB / 0.7425 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.5419, allocations: 1.72 MB / 0.7442 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5419, allocations: 0 / 0.7442 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5419, allocations: 4 kB / 0.7442 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.5419, allocations: 0 / 0.7442 GB, free: 6.812 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.002164/0.5441, allocations: 1.573 MB / 0.7457 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.5441, allocations: 11.09 kB / 0.7458 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.5443, allocations: 149.5 kB / 0.7459 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/0.5452, allocations: 206.8 kB / 0.7461 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5463, allocations: 0.8712 MB / 0.7469 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.5463, allocations: 66.69 kB / 0.747 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.5464, allocations: 92.84 kB / 0.7471 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5479, allocations: 0.9645 MB / 0.748 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5479, allocations: 0 / 0.748 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.548, allocations: 42.5 kB / 0.7481 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.548, allocations: 23.31 kB / 0.7481 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.5496, allocations: 1.118 MB / 0.7492 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.5533, allocations: 2.688 MB / 0.7518 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5545, allocations: 0.7059 MB / 0.7525 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.555, allocations: 280.4 kB / 0.7528 GB, free: 168 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.5551, allocations: 32.59 kB / 0.7528 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.5559, allocations: 413.8 kB / 0.7532 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.5559, allocations: 0 / 0.7532 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.00274/0.5586, allocations: 1.081 MB / 0.7543 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.5587, allocations: 188.5 kB / 0.7544 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.5596, allocations: 0.7515 MB / 0.7552 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.5596, allocations: 37.69 kB / 0.7552 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.56, allocations: 0.4921 MB / 0.7557 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.5601, allocations: 232.6 kB / 0.7559 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.5603, allocations: 130.2 kB / 0.756 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5604, allocations: 330 kB / 0.7563 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.5608, allocations: 213.1 kB / 0.7566 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.5613, allocations: 318.7 kB / 0.7569 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.5623, allocations: 0.5117 MB / 0.7574 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5623, allocations: 4 kB / 0.7574 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00163/0.5639, allocations: 0.7273 MB / 0.7581 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5639, allocations: 4 kB / 0.7581 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5639, allocations: 0 / 0.7581 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.5645, allocations: 80.88 kB / 0.7581 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.5651, allocations: 135.8 kB / 0.7583 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.567, allocations: 1.649 MB / 0.7599 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.5676, allocations: 75.36 kB / 0.76 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.5677, allocations: 32.05 kB / 0.76 GB, free: 8.461 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.0003992/0.5681, allocations: 265.8 kB / 0.7602 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5682, allocations: 98.72 kB / 0.7603 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.5704, allocations: 0.9772 MB / 0.7613 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5704, allocations: 8 kB / 0.7613 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5704, allocations: 1.125 kB / 0.7613 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5704, allocations: 7.984 kB / 0.7613 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.5714, allocations: 0.9348 MB / 0.7622 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5714, allocations: 0 / 0.7622 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.5719, allocations: 135.8 kB / 0.7624 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.5724, allocations: 72.83 kB / 0.7624 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.5724, allocations: 27.97 kB / 0.7624 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.5742, allocations: 1.679 MB / 0.7641 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5742, allocations: 4.062 kB / 0.7641 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.576, allocations: 0.8411 MB / 0.7649 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5763, allocations: 275.6 kB / 0.7652 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.5764, allocations: 16 kB / 0.7652 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.5769, allocations: 51.94 kB / 0.7652 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.5771, allocations: 56.92 kB / 0.7653 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.5771, allocations: 31.98 kB / 0.7653 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000642/0.5778, allocations: 0.528 MB / 0.7658 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5778, allocations: 3.938 kB / 0.7658 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007772/0.5786, allocations: 307.1 kB / 0.7661 GB, free: 1.922 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.00311/0.5817, allocations: 1.877 MB / 0.768 GB, free: 236 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.5837, allocations: 0.8909 MB / 0.7688 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5837, allocations: 0 / 0.7688 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/0.5845, allocations: 485 kB / 0.7693 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5861, allocations: 456.5 kB / 0.7697 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.597, allocations: 6.888 MB / 0.7765 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.5976, allocations: 1.078 MB / 0.7775 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008902/0.5985, allocations: 271.1 kB / 0.7778 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.5991, allocations: 451.2 kB / 0.7782 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.5991, allocations: 0 / 0.7782 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.6526, allocations: 23.62 MB / 0.8013 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.92, allocations: 0 / 0.8013 GB, free: 14.2 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)