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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009592/0.000959, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5584/0.5584, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009494/0.0009496, allocations: 94.69 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.526e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 72.3 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.71/4.86, allocations: 1.685 GB / 2.238 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/4.86, allocations: 90.8 kB / 2.238 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1466/5.007, allocations: 63.17 MB / 2.3 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/5.007, allocations: 0 / 2.3 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001084/5.007, allocations: 38.31 kB / 2.3 GB, free: 158.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002079/5.009, allocations: 1.231 MB / 2.301 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/5.009, allocations: 10.38 kB / 2.301 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/5.01, allocations: 219.9 kB / 2.301 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/5.011, allocations: 0.7761 MB / 2.302 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/5.011, allocations: 31.38 kB / 2.302 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/5.011, allocations: 54.44 kB / 2.302 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/5.013, allocations: 1.019 MB / 2.303 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/5.014, allocations: 0.7975 MB / 2.304 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/5.014, allocations: 0 / 2.304 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/5.014, allocations: 4 kB / 2.304 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/5.014, allocations: 20 kB / 2.304 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/5.017, allocations: 2.551 MB / 2.307 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/5.018, allocations: 0.6301 MB / 2.307 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/5.018, allocations: 238.4 kB / 2.307 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.479e-05/5.019, allocations: 28.58 kB / 2.307 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/5.019, allocations: 381.8 kB / 2.308 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.464e-06/5.019, allocations: 0 / 2.308 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.001455/5.021, allocations: 0.6471 MB / 2.308 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/5.021, allocations: 243.8 kB / 2.309 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/5.021, allocations: 0.6135 MB / 2.309 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/5.021, allocations: 25.7 kB / 2.309 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/5.022, allocations: 499.7 kB / 2.31 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/5.022, allocations: 216.7 kB / 2.31 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/5.022, allocations: 4 kB / 2.31 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000101/5.022, allocations: 330 kB / 2.31 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/5.022, allocations: 181.5 kB / 2.31 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/5.023, allocations: 279.5 kB / 2.311 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/5.023, allocations: 236.4 kB / 2.311 GB, free: 148 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.023, allocations: 0 / 2.311 GB, free: 148 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00148/5.024, allocations: 0.6483 MB / 2.312 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/5.024, allocations: 4 kB / 2.312 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/5.025, allocations: 3.984 kB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/5.025, allocations: 88.83 kB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/5.026, allocations: 135.8 kB / 2.312 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/5.027, allocations: 1.453 MB / 2.313 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/5.028, allocations: 63.52 kB / 2.313 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/5.028, allocations: 23.98 kB / 2.313 GB, free: 145.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0001604/5.028, allocations: 116.9 kB / 2.313 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0012/5.029, allocations: 0.6471 MB / 2.314 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/5.029, allocations: 86.97 kB / 2.314 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/5.031, allocations: 0.8967 MB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/5.031, allocations: 8 kB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/5.031, allocations: 0 / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/5.031, allocations: 3.984 kB / 2.315 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/5.032, allocations: 0.8257 MB / 2.316 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/5.032, allocations: 4 kB / 2.316 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/5.033, allocations: 135.8 kB / 2.316 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/5.033, allocations: 80.78 kB / 2.316 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/5.033, allocations: 15.98 kB / 2.316 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/5.034, allocations: 1.492 MB / 2.318 GB, free: 141 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.034, allocations: 0 / 2.318 GB, free: 141 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/5.036, allocations: 0.7503 MB / 2.318 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/5.036, allocations: 295.7 kB / 2.319 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/5.036, allocations: 8 kB / 2.319 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/5.037, allocations: 51.92 kB / 2.319 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/5.037, allocations: 56.7 kB / 2.319 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/5.037, allocations: 31.98 kB / 2.319 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005282/5.037, allocations: 495.1 kB / 2.319 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.037, allocations: 0 / 2.319 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001067/5.038, allocations: 350.8 kB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00307/5.042, allocations: 2.275 MB / 2.322 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001072/5.043, allocations: 0.632 MB / 2.322 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.043, allocations: 0 / 2.322 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/5.043, allocations: 436.5 kB / 2.323 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/5.045, allocations: 361.1 kB / 2.323 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/5.049, allocations: 1.683 MB / 2.325 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/5.049, allocations: 1.101 MB / 2.326 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008693/5.05, allocations: 270.6 kB / 2.326 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/5.051, allocations: 435.3 kB / 2.327 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/5.051, allocations: 0 / 2.327 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/5.104, allocations: 26.4 MB / 2.352 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/5.104, allocations: 182.9 kB / 2.352 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/8.052, allocations: 0 / 2.352 GB, free: 105.2 MB / 0.6042 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)