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.001413/0.001413, allocations: 107.7 kB / 15.99 MB, free: 5.906 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.001542/0.001542, allocations: 192.2 kB / 16.9 MB, free: 5.758 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.523/1.523, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6921/0.6921, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 76.17 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005736/0.2867, allocations: 5.58 MB / 0.5615 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1349/0.4216, allocations: 148.7 MB / 0.7067 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4228, allocations: 19.88 kB / 0.7067 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.4238, allocations: 310.1 kB / 0.707 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.4259, allocations: 0.4925 MB / 0.7074 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.4279, allocations: 0.7712 MB / 0.7082 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.4296, allocations: 1.55 MB / 0.7097 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4306, allocations: 0.7674 MB / 0.7105 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.4313, allocations: 0.5409 MB / 0.711 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.4319, allocations: 0.5753 MB / 0.7116 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.4321, allocations: 132 kB / 0.7117 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007974/0.4329, allocations: 479.6 kB / 0.7121 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.4332, allocations: 330.9 kB / 0.7125 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.4338, allocations: 0.6644 MB / 0.7131 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.4356, allocations: 1.873 MB / 0.7149 GB, free: 1.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4356, allocations: 0 / 0.7149 GB, free: 1.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4356, allocations: 0 / 0.7149 GB, free: 1.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.4356, allocations: 0 / 0.7149 GB, free: 1.348 MB / 0.545 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.002807/0.4384, allocations: 1.678 MB / 0.7166 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4385, allocations: 12.03 kB / 0.7166 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4387, allocations: 152.4 kB / 0.7167 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009772/0.4396, allocations: 223 kB / 0.7169 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.4408, allocations: 0.8865 MB / 0.7178 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.4409, allocations: 77.98 kB / 0.7179 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.441, allocations: 96 kB / 0.718 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4427, allocations: 1.028 MB / 0.719 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.4427, allocations: 0 / 0.719 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.4428, allocations: 44 kB / 0.719 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4429, allocations: 28 kB / 0.719 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.4447, allocations: 1.171 MB / 0.7202 GB, free: 11.82 MB / 0.5606 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.004102/0.4488, allocations: 3.053 MB / 0.7232 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.4502, allocations: 0.7936 MB / 0.7239 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.4507, allocations: 306.6 kB / 0.7242 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.4508, allocations: 24.62 kB / 0.7243 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008754/0.4517, allocations: 499.2 kB / 0.7247 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.4517, allocations: 0 / 0.7247 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003014/0.4547, allocations: 1.205 MB / 0.7259 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.4548, allocations: 192.6 kB / 0.7261 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.4558, allocations: 0.8046 MB / 0.7269 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.4558, allocations: 37.7 kB / 0.7269 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.4562, allocations: 0.504 MB / 0.7274 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4564, allocations: 256.3 kB / 0.7277 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.4566, allocations: 146.5 kB / 0.7278 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.4567, allocations: 337.9 kB / 0.7281 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.4572, allocations: 241.9 kB / 0.7283 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.4577, allocations: 358.5 kB / 0.7287 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.4588, allocations: 0.5722 MB / 0.7292 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4588, allocations: 0 / 0.7292 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001848/0.4606, allocations: 0.8172 MB / 0.73 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4607, allocations: 12.09 kB / 0.7301 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4607, allocations: 0 / 0.7301 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.4613, allocations: 88.7 kB / 0.7301 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.4619, allocations: 147.8 kB / 0.7303 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.4639, allocations: 1.638 MB / 0.7319 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.4646, allocations: 91.23 kB / 0.732 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.4647, allocations: 27.98 kB / 0.732 GB, free: 15.25 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.0003705/0.4651, allocations: 293.7 kB / 0.7323 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4652, allocations: 102.8 kB / 0.7324 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.4676, allocations: 1.079 MB / 0.7334 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4676, allocations: 11.94 kB / 0.7334 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4676, allocations: 0 / 0.7334 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.4677, allocations: 3.984 kB / 0.7334 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4687, allocations: 1.005 MB / 0.7344 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4687, allocations: 3.938 kB / 0.7344 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.4693, allocations: 147.7 kB / 0.7346 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.4698, allocations: 72.78 kB / 0.7346 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.4698, allocations: 23.98 kB / 0.7347 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.4716, allocations: 1.681 MB / 0.7363 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4716, allocations: 144 / 0.7363 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.4736, allocations: 0.9472 MB / 0.7372 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.4739, allocations: 287.5 kB / 0.7375 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.474, allocations: 20 kB / 0.7375 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.4747, allocations: 67.83 kB / 0.7376 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4748, allocations: 72.84 kB / 0.7377 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.4749, allocations: 36.03 kB / 0.7377 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006531/0.4756, allocations: 0.562 MB / 0.7382 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4756, allocations: 0 / 0.7382 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007201/0.4763, allocations: 335 kB / 0.7386 GB, free: 8.258 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.003355/0.4797, allocations: 1.995 MB / 0.7405 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.4818, allocations: 0.9874 MB / 0.7415 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4818, allocations: 0 / 0.7415 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.4827, allocations: 0.5121 MB / 0.742 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.4843, allocations: 473 kB / 0.7424 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/0.6883, allocations: 7.798 MB / 0.75 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.6889, allocations: 1.104 MB / 0.7511 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009836/0.6899, allocations: 287.5 kB / 0.7514 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.6904, allocations: 465.1 kB / 0.7518 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6905, allocations: 0.5625 kB / 0.7518 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/0.7601, allocations: 25.26 MB / 0.7765 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.7603, allocations: 289.1 kB / 0.7768 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.125, allocations: 3.938 kB / 0.7768 GB, free: 162.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)