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.001168/0.001168, allocations: 104 kB / 16.4 MB, free: 6.504 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.0011/0.0011, allocations: 196 kB / 17.34 MB, free: 5.727 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7772/0.7772, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 73.84 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1504, allocations: 77.93 MB / 0.644 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009269/0.1597, allocations: 5.59 MB / 0.6495 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5765/0.7363, allocations: 150.9 MB / 0.7969 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.7375, allocations: 27.75 kB / 0.7969 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.7383, allocations: 363.1 kB / 0.7972 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.7405, allocations: 0.5674 MB / 0.7978 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.7428, allocations: 0.8772 MB / 0.7986 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.7444, allocations: 1.569 MB / 0.8002 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7454, allocations: 0.7627 MB / 0.8009 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.7462, allocations: 0.5382 MB / 0.8014 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.7469, allocations: 0.5673 MB / 0.802 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.7471, allocations: 132.5 kB / 0.8021 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.7483, allocations: 0.4923 MB / 0.8026 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.7487, allocations: 342.6 kB / 0.8029 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.7493, allocations: 0.6624 MB / 0.8036 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.7517, allocations: 1.931 MB / 0.8055 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7517, allocations: 3.75 kB / 0.8055 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7517, allocations: 0 / 0.8055 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.7517, allocations: 0 / 0.8055 GB, free: 11.68 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.003246/0.755, allocations: 1.729 MB / 0.8072 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.7551, allocations: 10.59 kB / 0.8072 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.7553, allocations: 154.4 kB / 0.8073 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.7563, allocations: 223 kB / 0.8075 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7576, allocations: 0.9268 MB / 0.8084 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.7577, allocations: 74.03 kB / 0.8085 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.7579, allocations: 96.69 kB / 0.8086 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.7597, allocations: 1.026 MB / 0.8096 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.7597, allocations: 7.047 kB / 0.8096 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.7598, allocations: 41.75 kB / 0.8096 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.7598, allocations: 24.53 kB / 0.8097 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.7617, allocations: 1.167 MB / 0.8108 GB, free: 9.438 MB / 0.5919 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.004718/0.7665, allocations: 3.023 MB / 0.8138 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.7681, allocations: 0.7874 MB / 0.8145 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.7687, allocations: 304.1 kB / 0.8148 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.243e-05/0.7688, allocations: 34.45 kB / 0.8148 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008634/0.7697, allocations: 487.6 kB / 0.8153 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.7697, allocations: 4 kB / 0.8153 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.00321/0.7729, allocations: 1.212 MB / 0.8165 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7731, allocations: 195.3 kB / 0.8167 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7741, allocations: 0.7958 MB / 0.8175 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.7742, allocations: 42.61 kB / 0.8175 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.7746, allocations: 0.5219 MB / 0.818 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.7749, allocations: 259.9 kB / 0.8183 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.7751, allocations: 143 kB / 0.8184 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7752, allocations: 335.1 kB / 0.8187 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.7757, allocations: 248.4 kB / 0.819 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.7763, allocations: 357.1 kB / 0.8193 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7773, allocations: 0.5779 MB / 0.8199 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7774, allocations: 0 / 0.8199 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001954/0.7793, allocations: 0.8186 MB / 0.8207 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7793, allocations: 4.906 kB / 0.8207 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7794, allocations: 0 / 0.8207 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.78, allocations: 86.33 kB / 0.8207 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.7805, allocations: 148.2 kB / 0.8209 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.7827, allocations: 1.661 MB / 0.8225 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.7835, allocations: 90.83 kB / 0.8226 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.7836, allocations: 32.02 kB / 0.8226 GB, free: 1.391 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: 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.0005297/0.7841, allocations: 292.8 kB / 0.8229 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.7843, allocations: 109.1 kB / 0.823 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.7866, allocations: 1.079 MB / 0.8241 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.7867, allocations: 10.16 kB / 0.8241 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7867, allocations: 3.938 kB / 0.8241 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7867, allocations: 3.984 kB / 0.8241 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.788, allocations: 1.008 MB / 0.8251 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.788, allocations: 0 / 0.8251 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.7886, allocations: 140.4 kB / 0.8252 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.789, allocations: 74.56 kB / 0.8253 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.7891, allocations: 23.48 kB / 0.8253 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.791, allocations: 1.672 MB / 0.8269 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.791, allocations: 64 / 0.8269 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.793, allocations: 0.9534 MB / 0.8279 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.7935, allocations: 286.2 kB / 0.8281 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7936, allocations: 25.58 kB / 0.8282 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/0.7943, allocations: 60.12 kB / 0.8282 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.7944, allocations: 69.67 kB / 0.8283 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.7945, allocations: 48.5 kB / 0.8283 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007801/0.7953, allocations: 0.5563 MB / 0.8289 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7953, allocations: 0 / 0.8289 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009183/0.7963, allocations: 345.3 kB / 0.8292 GB, free: 12.74 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.003468/0.7997, allocations: 2.009 MB / 0.8312 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.8013, allocations: 0.7905 MB / 0.8319 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8014, allocations: 0 / 0.8319 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.8023, allocations: 0.5196 MB / 0.8324 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.804, allocations: 468.2 kB / 0.8329 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.816, allocations: 6.994 MB / 0.8397 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.8168, allocations: 1.102 MB / 0.8408 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001127/0.818, allocations: 287.7 kB / 0.8411 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006985/0.8187, allocations: 463.2 kB / 0.8415 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of SimCode: time 8.81e-07/0.8187, allocations: 0 / 0.8415 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/0.887, allocations: 25.78 MB / 0.8667 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.19, allocations: 11.92 kB / 0.8667 GB, free: 9.574 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)