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.001418/0.001418, allocations: 105.7 kB / 16.4 MB, free: 6.492 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.001979/0.001979, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8163/0.8163, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 61.38 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 78.86 MB / 0.6505 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007545/0.1427, allocations: 5.612 MB / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4839/0.6266, allocations: 150.9 MB / 0.8033 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.6278, allocations: 26.94 kB / 0.8034 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.6286, allocations: 365.5 kB / 0.8037 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.6307, allocations: 0.5667 MB / 0.8043 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.633, allocations: 0.8685 MB / 0.8051 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.6352, allocations: 1.561 MB / 0.8066 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6362, allocations: 0.7646 MB / 0.8074 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.637, allocations: 0.5331 MB / 0.8079 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.6377, allocations: 0.5678 MB / 0.8085 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.6379, allocations: 132.1 kB / 0.8086 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009166/0.6389, allocations: 0.4996 MB / 0.8091 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6391, allocations: 337.2 kB / 0.8094 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.6397, allocations: 0.6618 MB / 0.8101 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.6419, allocations: 1.932 MB / 0.8119 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.642, allocations: 0 / 0.8119 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.576e-06/0.642, allocations: 0 / 0.8119 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.642, allocations: 3.938 kB / 0.8119 GB, free: 10.37 MB / 0.5919 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.00289/0.6449, allocations: 1.726 MB / 0.8136 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6449, allocations: 7.5 kB / 0.8136 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.6451, allocations: 160.9 kB / 0.8138 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.646, allocations: 218.7 kB / 0.814 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6474, allocations: 0.9244 MB / 0.8149 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.6474, allocations: 72.56 kB / 0.815 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.6475, allocations: 94.31 kB / 0.8151 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.6491, allocations: 1.032 MB / 0.8161 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.6492, allocations: 2.25 kB / 0.8161 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.6493, allocations: 48.97 kB / 0.8161 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6493, allocations: 22.22 kB / 0.8161 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.651, allocations: 1.171 MB / 0.8173 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.6554, allocations: 3.07 MB / 0.8203 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.6568, allocations: 0.7904 MB / 0.821 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.6574, allocations: 311.3 kB / 0.8213 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.172e-05/0.6575, allocations: 32.33 kB / 0.8214 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008534/0.6583, allocations: 494.9 kB / 0.8218 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.344e-06/0.6583, allocations: 0 / 0.8218 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003147/0.6615, allocations: 1.212 MB / 0.823 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.6616, allocations: 192.4 kB / 0.8232 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6627, allocations: 0.7994 MB / 0.824 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.6627, allocations: 38.86 kB / 0.824 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.6632, allocations: 0.5178 MB / 0.8245 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.6634, allocations: 269.5 kB / 0.8248 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.6637, allocations: 143.4 kB / 0.8249 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6638, allocations: 337.5 kB / 0.8253 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.6643, allocations: 242.6 kB / 0.8255 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.6649, allocations: 361.3 kB / 0.8258 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.666, allocations: 0.5713 MB / 0.8264 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.666, allocations: 6.625 kB / 0.8264 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001835/0.6678, allocations: 0.8115 MB / 0.8272 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6678, allocations: 9.219 kB / 0.8272 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6679, allocations: 4 kB / 0.8272 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.6685, allocations: 83.67 kB / 0.8273 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.669, allocations: 162.8 kB / 0.8274 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.6713, allocations: 1.64 MB / 0.829 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.672, allocations: 89.97 kB / 0.8291 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.6721, allocations: 28.05 kB / 0.8291 GB, free: 15.16 MB / 0.6075 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.0005303/0.6726, allocations: 287.8 kB / 0.8294 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6728, allocations: 113.6 kB / 0.8295 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.6752, allocations: 1.078 MB / 0.8306 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6752, allocations: 7.844 kB / 0.8306 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6752, allocations: 3.938 kB / 0.8306 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6752, allocations: 6.766 kB / 0.8306 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6764, allocations: 1.004 MB / 0.8316 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6764, allocations: 0 / 0.8316 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.677, allocations: 143.8 kB / 0.8317 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.6774, allocations: 74.42 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.6775, allocations: 31.97 kB / 0.8318 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6796, allocations: 1.675 MB / 0.8335 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6796, allocations: 2.75 kB / 0.8335 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6816, allocations: 0.9355 MB / 0.8344 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.682, allocations: 304.2 kB / 0.8347 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6821, allocations: 21.75 kB / 0.8347 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.6827, allocations: 65.3 kB / 0.8347 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6829, allocations: 70.09 kB / 0.8348 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.6829, allocations: 34.33 kB / 0.8348 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000732/0.6837, allocations: 0.5582 MB / 0.8354 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6837, allocations: 0 / 0.8354 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008398/0.6845, allocations: 350 kB / 0.8357 GB, free: 10.5 MB / 0.6075 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.004021/0.6886, allocations: 1.999 MB / 0.8377 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.6902, allocations: 0.7938 MB / 0.8385 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6902, allocations: 2.5 kB / 0.8385 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.6912, allocations: 0.5169 MB / 0.839 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.693, allocations: 461.5 kB / 0.8394 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.7053, allocations: 7.007 MB / 0.8462 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.7062, allocations: 1.094 MB / 0.8473 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001058/0.7072, allocations: 287.7 kB / 0.8476 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/0.708, allocations: 476.3 kB / 0.848 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/0.7081, allocations: 0 / 0.848 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06614/0.7742, allocations: 25.78 MB / 0.8732 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.3, allocations: 13.41 kB / 0.8732 GB, free: 6.188 MB / 0.6387 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)