Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_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.001116/0.001116, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.001132/0.001132, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 55.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 77.94 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005792/0.3109, allocations: 5.6 MB / 0.5728 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1432/0.4541, allocations: 150.9 MB / 0.7201 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.4553, allocations: 31.81 kB / 0.7201 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.4563, allocations: 373.2 kB / 0.7205 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.4585, allocations: 0.5463 MB / 0.721 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.4608, allocations: 0.8801 MB / 0.7219 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.4625, allocations: 1.543 MB / 0.7234 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.4636, allocations: 0.7674 MB / 0.7241 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.4644, allocations: 0.5371 MB / 0.7247 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.4651, allocations: 0.5715 MB / 0.7252 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.4653, allocations: 132 kB / 0.7253 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009201/0.4662, allocations: 471.6 kB / 0.7258 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.4665, allocations: 330.9 kB / 0.7261 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.4671, allocations: 0.6644 MB / 0.7268 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.4689, allocations: 1.865 MB / 0.7286 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4689, allocations: 4 kB / 0.7286 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4689, allocations: 7.938 kB / 0.7286 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.469, allocations: 0 / 0.7286 GB, free: 5.031 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002442/0.4714, allocations: 1.686 MB / 0.7302 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4714, allocations: 12.62 kB / 0.7302 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.4716, allocations: 152.4 kB / 0.7304 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.4725, allocations: 219 kB / 0.7306 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4737, allocations: 0.8864 MB / 0.7315 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.4737, allocations: 74 kB / 0.7315 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4739, allocations: 92 kB / 0.7316 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.4754, allocations: 1.032 MB / 0.7326 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4755, allocations: 0 / 0.7326 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.4756, allocations: 47.98 kB / 0.7327 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.4756, allocations: 24 kB / 0.7327 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4773, allocations: 1.175 MB / 0.7339 GB, free: 15.5 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.4812, allocations: 3.04 MB / 0.7368 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4826, allocations: 0.7976 MB / 0.7376 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.4831, allocations: 298.7 kB / 0.7379 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.4832, allocations: 32.55 kB / 0.7379 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007802/0.484, allocations: 495.2 kB / 0.7384 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.014e-06/0.484, allocations: 0 / 0.7384 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002983/0.487, allocations: 1.209 MB / 0.7396 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.4871, allocations: 192.6 kB / 0.7398 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.488, allocations: 0.7968 MB / 0.7405 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.488, allocations: 41.7 kB / 0.7406 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.4884, allocations: 0.5039 MB / 0.7411 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.4886, allocations: 252.4 kB / 0.7413 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.4888, allocations: 142.5 kB / 0.7414 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.4889, allocations: 341.9 kB / 0.7418 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.4893, allocations: 241.9 kB / 0.742 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.4899, allocations: 358.5 kB / 0.7423 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4909, allocations: 0.5799 MB / 0.7429 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4909, allocations: 0 / 0.7429 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001773/0.4927, allocations: 0.8134 MB / 0.7437 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4928, allocations: 8 kB / 0.7437 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4928, allocations: 0 / 0.7437 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.4934, allocations: 88.8 kB / 0.7438 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.4939, allocations: 151.7 kB / 0.7439 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.4959, allocations: 1.652 MB / 0.7455 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.4965, allocations: 85.67 kB / 0.7456 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.4966, allocations: 31.98 kB / 0.7457 GB, free: 2.93 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0003907/0.497, allocations: 297.6 kB / 0.7459 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4972, allocations: 102.7 kB / 0.746 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.4995, allocations: 1.072 MB / 0.7471 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4995, allocations: 11.98 kB / 0.7471 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4995, allocations: 7.984 kB / 0.7471 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4996, allocations: 3.984 kB / 0.7471 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5006, allocations: 1.009 MB / 0.7481 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5006, allocations: 4 kB / 0.7481 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.5012, allocations: 139.8 kB / 0.7482 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.5016, allocations: 76.72 kB / 0.7483 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.5017, allocations: 23.98 kB / 0.7483 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2272/0.7289, allocations: 1.667 MB / 0.75 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7289, allocations: 2.859 kB / 0.75 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.7312, allocations: 0.9363 MB / 0.7509 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.7317, allocations: 295.5 kB / 0.7512 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.7319, allocations: 20.34 kB / 0.7512 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.7325, allocations: 61.77 kB / 0.7512 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7327, allocations: 74.14 kB / 0.7513 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.7328, allocations: 32.53 kB / 0.7513 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008169/0.7336, allocations: 0.5585 MB / 0.7519 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7336, allocations: 0.9062 kB / 0.7519 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008745/0.7345, allocations: 336.7 kB / 0.7522 GB, free: 168.9 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003374/0.7379, allocations: 2.002 MB / 0.7542 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.7402, allocations: 0.9912 MB / 0.7551 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7402, allocations: 0.5938 kB / 0.7551 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7413, allocations: 0.515 MB / 0.7556 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.743, allocations: 475.8 kB / 0.7561 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7538, allocations: 7.34 MB / 0.7633 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.7544, allocations: 1.095 MB / 0.7643 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009475/0.7554, allocations: 288.2 kB / 0.7646 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.7559, allocations: 466.2 kB / 0.765 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.7559, allocations: 1.641 kB / 0.765 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.8003, allocations: 25.48 MB / 0.7899 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.96, allocations: 0 / 0.7899 GB, free: 144.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)