Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.087/2.087, allocations: 390.3 MB / 402.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008597/0.0008598, allocations: 95.91 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.314e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.175/4.449, allocations: 1.733 GB / 2.952 GB, free: 81.03 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/4.449, allocations: 84.95 kB / 2.952 GB, free: 80.95 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1289/4.578, allocations: 64.05 MB / 3.014 GB, free: 16.57 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.543e-06/4.578, allocations: 4 kB / 3.014 GB, free: 16.57 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001052/4.578, allocations: 31.94 kB / 3.014 GB, free: 16.54 MB / 1.167 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.001855/4.58, allocations: 1.231 MB / 3.015 GB, free: 15.26 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/4.58, allocations: 8.031 kB / 3.015 GB, free: 15.25 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/4.58, allocations: 147.9 kB / 3.016 GB, free: 15.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/4.581, allocations: 218.1 kB / 3.016 GB, free: 14.88 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/4.582, allocations: 0.7717 MB / 3.016 GB, free: 14.07 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/4.582, allocations: 77.98 kB / 3.017 GB, free: 13.99 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/4.582, allocations: 88 kB / 3.017 GB, free: 13.91 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/4.584, allocations: 0.9303 MB / 3.018 GB, free: 12.93 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/4.584, allocations: 3.938 kB / 3.018 GB, free: 12.93 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/4.584, allocations: 43.95 kB / 3.018 GB, free: 12.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/4.584, allocations: 24 kB / 3.018 GB, free: 12.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/4.585, allocations: 1.069 MB / 3.019 GB, free: 11.79 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/4.588, allocations: 2.737 MB / 3.021 GB, free: 8.98 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/4.589, allocations: 0.6756 MB / 3.022 GB, free: 8.289 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/4.589, allocations: 258.4 kB / 3.022 GB, free: 8.035 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/4.589, allocations: 32.53 kB / 3.022 GB, free: 8.004 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/4.59, allocations: 398.8 kB / 3.023 GB, free: 7.598 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 2.464e-06/4.59, allocations: 0 / 3.023 GB, free: 7.598 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.001351/4.591, allocations: 0.6938 MB / 3.023 GB, free: 6.891 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/4.591, allocations: 239.9 kB / 3.024 GB, free: 6.602 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/4.592, allocations: 0.7079 MB / 3.024 GB, free: 5.891 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/4.592, allocations: 41.7 kB / 3.024 GB, free: 5.844 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/4.592, allocations: 495.9 kB / 3.025 GB, free: 5.352 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/4.593, allocations: 232.7 kB / 3.025 GB, free: 5.121 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/4.593, allocations: 12 kB / 3.025 GB, free: 5.109 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/4.593, allocations: 330 kB / 3.025 GB, free: 4.781 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/4.593, allocations: 193.5 kB / 3.025 GB, free: 4.594 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/4.593, allocations: 297.1 kB / 3.026 GB, free: 4.273 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/4.594, allocations: 246 kB / 3.026 GB, free: 4.031 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/4.594, allocations: 0 / 3.026 GB, free: 4.031 MB / 1.167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001217/4.595, allocations: 0.6951 MB / 3.027 GB, free: 3.324 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/4.595, allocations: 5.25 kB / 3.027 GB, free: 3.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/4.595, allocations: 0 / 3.027 GB, free: 3.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/4.595, allocations: 92.81 kB / 3.027 GB, free: 3.227 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/4.596, allocations: 127.8 kB / 3.027 GB, free: 3.102 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/4.597, allocations: 1.524 MB / 3.028 GB, free: 1.438 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/4.598, allocations: 75.34 kB / 3.028 GB, free: 1.363 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/4.598, allocations: 35.97 kB / 3.029 GB, free: 1.328 MB / 1.167 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.0001205/4.598, allocations: 138.1 kB / 3.029 GB, free: 1.188 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/4.598, allocations: 106.7 kB / 3.029 GB, free: 1.082 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/4.6, allocations: 0.936 MB / 3.03 GB, free: 132 kB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/4.6, allocations: 15.98 kB / 3.03 GB, free: 116 kB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/4.6, allocations: 0 / 3.03 GB, free: 116 kB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/4.6, allocations: 3.984 kB / 3.03 GB, free: 112 kB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5869/5.187, allocations: 0.9561 MB / 3.031 GB, free: 396.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/5.187, allocations: 1.594 kB / 3.031 GB, free: 396.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/5.187, allocations: 136.8 kB / 3.031 GB, free: 396.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/5.188, allocations: 86.08 kB / 3.031 GB, free: 396.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/5.188, allocations: 22.45 kB / 3.031 GB, free: 396.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/5.19, allocations: 1.557 MB / 3.032 GB, free: 394.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.19, allocations: 2.078 kB / 3.032 GB, free: 394.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/5.191, allocations: 0.8002 MB / 3.033 GB, free: 394.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/5.192, allocations: 293.2 kB / 3.033 GB, free: 394.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/5.192, allocations: 20.27 kB / 3.033 GB, free: 394.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/5.192, allocations: 71.31 kB / 3.034 GB, free: 394.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/5.193, allocations: 58.53 kB / 3.034 GB, free: 394.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/5.193, allocations: 28.38 kB / 3.034 GB, free: 394.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007015/5.193, allocations: 0.5703 MB / 3.034 GB, free: 394.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/5.193, allocations: 4.031 kB / 3.034 GB, free: 394.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009564/5.194, allocations: 378.8 kB / 3.035 GB, free: 394.5 MB / 1.167 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.003158/5.197, allocations: 2.269 MB / 3.037 GB, free: 393.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00113/5.199, allocations: 0.6692 MB / 3.037 GB, free: 393.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/5.199, allocations: 0.8438 kB / 3.037 GB, free: 393.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/5.199, allocations: 460.7 kB / 3.038 GB, free: 393.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/5.201, allocations: 381.2 kB / 3.038 GB, free: 393.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/5.204, allocations: 1.756 MB / 3.04 GB, free: 393.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/5.205, allocations: 1.094 MB / 3.041 GB, free: 392.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008386/5.206, allocations: 282.4 kB / 3.041 GB, free: 392.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/5.206, allocations: 435.6 kB / 3.042 GB, free: 392.4 MB / 1.167 GB Notification: Performance of SimCode: time 4.01e-07/5.206, allocations: 0 / 3.042 GB, free: 392.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06616/5.273, allocations: 34.57 MB / 3.075 GB, free: 390.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/5.273, allocations: 244.3 kB / 3.076 GB, free: 390 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/8.488, allocations: 1.094 kB / 3.076 GB, free: 390 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat