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.001115/0.001115, 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.00109/0.00109, allocations: 194.3 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.342/1.342, 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/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 61.66 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3586, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005541/0.3642, allocations: 4.878 MB / 0.585 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.5222, allocations: 150.7 MB / 0.7322 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.5234, allocations: 27.81 kB / 0.7322 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5245, allocations: 341.5 kB / 0.7325 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.5266, allocations: 492.8 kB / 0.733 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.5288, allocations: 0.8131 MB / 0.7338 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.5305, allocations: 1.337 MB / 0.7351 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.5316, allocations: 0.8136 MB / 0.7359 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.5323, allocations: 494.1 kB / 0.7363 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.533, allocations: 0.5014 MB / 0.7368 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.5332, allocations: 116 kB / 0.7369 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.5342, allocations: 463.7 kB / 0.7374 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.5346, allocations: 306.9 kB / 0.7377 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.5354, allocations: 0.5982 MB / 0.7383 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.5378, allocations: 1.709 MB / 0.7399 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5378, allocations: 0 / 0.7399 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5378, allocations: 4 kB / 0.7399 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.5378, allocations: 0 / 0.7399 GB, free: 13.37 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.002831/0.5407, allocations: 1.578 MB / 0.7415 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5407, allocations: 12.02 kB / 0.7415 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.5409, allocations: 148 kB / 0.7416 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.5419, allocations: 207.1 kB / 0.7418 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.543, allocations: 0.8554 MB / 0.7427 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.543, allocations: 74 kB / 0.7427 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5431, allocations: 88 kB / 0.7428 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.5446, allocations: 0.9653 MB / 0.7438 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5446, allocations: 7.938 kB / 0.7438 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.5447, allocations: 36 kB / 0.7438 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5447, allocations: 24 kB / 0.7438 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.5464, allocations: 1.116 MB / 0.7449 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.55, allocations: 2.694 MB / 0.7475 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.5512, allocations: 0.7059 MB / 0.7482 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.5517, allocations: 270.4 kB / 0.7485 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.5518, allocations: 32.59 kB / 0.7485 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007299/0.5525, allocations: 425.6 kB / 0.7489 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 3.246e-06/0.5525, allocations: 7.922 kB / 0.7489 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002776/0.5553, allocations: 1.066 MB / 0.75 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.5554, allocations: 192.5 kB / 0.7502 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/0.5562, allocations: 0.7515 MB / 0.7509 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.5563, allocations: 41.7 kB / 0.7509 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.5566, allocations: 0.4921 MB / 0.7514 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5568, allocations: 236.6 kB / 0.7516 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.557, allocations: 130.1 kB / 0.7518 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5571, allocations: 330 kB / 0.7521 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.5575, allocations: 213.2 kB / 0.7523 GB, free: 388 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.558, allocations: 310.8 kB / 0.7526 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.559, allocations: 0.5194 MB / 0.7531 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.559, allocations: 4 kB / 0.7531 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001668/0.5607, allocations: 0.7312 MB / 0.7538 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5607, allocations: 4 kB / 0.7538 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5607, allocations: 4 kB / 0.7538 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.5613, allocations: 84.86 kB / 0.7539 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.5619, allocations: 127.8 kB / 0.754 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.5638, allocations: 1.63 MB / 0.7556 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.5644, allocations: 76.98 kB / 0.7557 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.5644, allocations: 28.03 kB / 0.7557 GB, free: 12.68 MB / 0.5919 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.0003571/0.5648, allocations: 281.8 kB / 0.756 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.565, allocations: 106.7 kB / 0.7561 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.5673, allocations: 0.9684 MB / 0.757 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.5673, allocations: 11.98 kB / 0.757 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.5673, allocations: 0 / 0.757 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5673, allocations: 3.984 kB / 0.757 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.5683, allocations: 0.9386 MB / 0.758 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5683, allocations: 0 / 0.758 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.5688, allocations: 139.8 kB / 0.7581 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.5693, allocations: 76.78 kB / 0.7582 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.5694, allocations: 15.98 kB / 0.7582 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.5712, allocations: 1.674 MB / 0.7598 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5712, allocations: 4.062 kB / 0.7598 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.573, allocations: 0.849 MB / 0.7606 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.5733, allocations: 271.6 kB / 0.7609 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.5734, allocations: 16 kB / 0.7609 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.574, allocations: 55.88 kB / 0.761 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.5741, allocations: 52.92 kB / 0.761 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.5742, allocations: 35.98 kB / 0.7611 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006613/0.5748, allocations: 0.5302 MB / 0.7616 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5748, allocations: 0 / 0.7616 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007686/0.5756, allocations: 307 kB / 0.7619 GB, free: 6.113 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.003148/0.5788, allocations: 1.874 MB / 0.7637 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.5807, allocations: 0.8838 MB / 0.7646 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5807, allocations: 3.938 kB / 0.7646 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.5815, allocations: 484.5 kB / 0.765 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5831, allocations: 463.2 kB / 0.7655 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5941, allocations: 6.888 MB / 0.7722 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.5947, allocations: 1.078 MB / 0.7733 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008505/0.5956, allocations: 271.1 kB / 0.7735 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.5961, allocations: 451.2 kB / 0.7739 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.5961, allocations: 0 / 0.7739 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.6489, allocations: 23.61 MB / 0.797 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.11, allocations: 11.84 kB / 0.797 GB, free: 2.43 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)