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.0006996/0.0006996, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007234/0.0007234, allocations: 176.5 kB / 16.58 MB, free: 6.391 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.176/1.176, allocations: 223.3 MB / 240.6 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6065/0.6065, allocations: 113.7 MB / 405.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 12 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004591/0.1207, allocations: 4.383 MB / 0.5612 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.342/0.4627, allocations: 137 MB / 0.695 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.4633, allocations: 27.81 kB / 0.695 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.4639, allocations: 246.2 kB / 0.6952 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.4651, allocations: 446.6 kB / 0.6957 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.4665, allocations: 0.6448 MB / 0.6963 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.4676, allocations: 1.258 MB / 0.6975 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.4683, allocations: 0.58 MB / 0.6981 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.4687, allocations: 366.2 kB / 0.6984 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.4691, allocations: 419.4 kB / 0.6988 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.4692, allocations: 28 kB / 0.6989 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.4698, allocations: 331.7 kB / 0.6992 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.4699, allocations: 203 kB / 0.6994 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.4701, allocations: 240.9 kB / 0.6996 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4712, allocations: 1.368 MB / 0.701 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4712, allocations: 3.984 kB / 0.701 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4712, allocations: 0 / 0.701 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4712, allocations: 3.938 kB / 0.701 GB, free: 7.117 MB / 0.5137 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.002015/0.4732, allocations: 1.422 MB / 0.7023 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4733, allocations: 8.031 kB / 0.7024 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.4734, allocations: 156.2 kB / 0.7025 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.4742, allocations: 230 kB / 0.7027 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4753, allocations: 0.8482 MB / 0.7036 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.4754, allocations: 81.94 kB / 0.7036 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.4755, allocations: 96 kB / 0.7037 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4771, allocations: 1.032 MB / 0.7047 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4771, allocations: 3.938 kB / 0.7047 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.4772, allocations: 44 kB / 0.7048 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.4772, allocations: 24 kB / 0.7048 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.4789, allocations: 1.163 MB / 0.7059 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.4824, allocations: 2.875 MB / 0.7087 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4837, allocations: 0.7932 MB / 0.7095 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.4841, allocations: 298.7 kB / 0.7098 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.4842, allocations: 32.59 kB / 0.7098 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007577/0.485, allocations: 491.2 kB / 0.7103 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=78): time 1.993e-06/0.485, allocations: 0 / 0.7103 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=78): time 0.002534/0.4875, allocations: 1.218 MB / 0.7115 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.4876, allocations: 192.6 kB / 0.7117 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.4885, allocations: 0.7928 MB / 0.7124 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.4885, allocations: 41.7 kB / 0.7125 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.4889, allocations: 0.5079 MB / 0.713 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.489, allocations: 248.3 kB / 0.7132 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.4891, allocations: 16 kB / 0.7132 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.4892, allocations: 337.9 kB / 0.7136 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.4896, allocations: 245.9 kB / 0.7138 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.4901, allocations: 362.4 kB / 0.7141 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.4906, allocations: 290.9 kB / 0.7144 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4906, allocations: 0 / 0.7144 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001537/0.4921, allocations: 0.8212 MB / 0.7152 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4922, allocations: 4 kB / 0.7152 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4922, allocations: 4.094 kB / 0.7152 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.4927, allocations: 80.72 kB / 0.7153 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.4933, allocations: 155.7 kB / 0.7155 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.495, allocations: 1.54 MB / 0.717 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.4955, allocations: 99.42 kB / 0.717 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.4956, allocations: 27.98 kB / 0.7171 GB, free: 6.078 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.4959, allocations: 295 kB / 0.7174 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.496, allocations: 99.41 kB / 0.7175 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.4981, allocations: 1.095 MB / 0.7185 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4981, allocations: 12 kB / 0.7185 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4981, allocations: 0 / 0.7185 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.4981, allocations: 3.984 kB / 0.7185 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.4991, allocations: 1.009 MB / 0.7195 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4991, allocations: 0 / 0.7195 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.4996, allocations: 143.8 kB / 0.7197 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.5, allocations: 80.77 kB / 0.7197 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.5001, allocations: 27.98 kB / 0.7198 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.5016, allocations: 1.548 MB / 0.7213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5016, allocations: 0 / 0.7213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.5032, allocations: 0.9511 MB / 0.7222 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.5035, allocations: 307.4 kB / 0.7225 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5036, allocations: 16 kB / 0.7225 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.5042, allocations: 82.69 kB / 0.7226 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5043, allocations: 72.89 kB / 0.7227 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.5043, allocations: 40.03 kB / 0.7227 GB, free: 68 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006027/0.505, allocations: 0.5464 MB / 0.7232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.505, allocations: 0 / 0.7232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006996/0.5057, allocations: 334.9 kB / 0.7236 GB, free: 15.18 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002834/0.5085, allocations: 1.997 MB / 0.7255 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.5098, allocations: 0.796 MB / 0.7263 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5098, allocations: 0 / 0.7263 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.5106, allocations: 0.5161 MB / 0.7268 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.5119, allocations: 398.4 kB / 0.7272 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.5215, allocations: 6.046 MB / 0.7331 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.5221, allocations: 1.098 MB / 0.7341 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007903/0.5229, allocations: 291.6 kB / 0.7344 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.5235, allocations: 463.2 kB / 0.7349 GB, free: 3.508 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.5235, allocations: 7.938 kB / 0.7349 GB, free: 3.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.5628, allocations: 24.99 MB / 0.7593 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.5631, allocations: 264.5 kB / 0.7595 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.645, allocations: 0 / 0.7595 GB, free: 10.53 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/linux/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) Environment - environmentSimulation: