Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001619/0.001619, allocations: 184.7 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 93.53 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.851e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3158, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/5.808, allocations: 1.953 GB / 3.159 GB, free: 395.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/5.808, allocations: 88.61 kB / 3.159 GB, free: 395.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.236/13.04, allocations: 1.982 GB / 5.142 GB, free: 156.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.284e-06/13.04, allocations: 0 / 5.142 GB, free: 156.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002656/13.04, allocations: 62.73 kB / 5.142 GB, free: 156.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.007296/13.05, allocations: 2.565 MB / 5.144 GB, free: 153.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/13.05, allocations: 8.562 kB / 5.144 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/13.06, allocations: 0.8884 MB / 5.145 GB, free: 152.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/13.07, allocations: 2.351 MB / 5.148 GB, free: 150.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/13.07, allocations: 48 kB / 5.148 GB, free: 150.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/13.07, allocations: 96 kB / 5.148 GB, free: 150.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002437/13.07, allocations: 1.279 MB / 5.149 GB, free: 149 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/13.07, allocations: 1.478 MB / 5.15 GB, free: 147.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/13.07, allocations: 7.953 kB / 5.15 GB, free: 147.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/13.07, allocations: 3.438 kB / 5.15 GB, free: 147.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/13.07, allocations: 58.88 kB / 5.15 GB, free: 147.4 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01232/13.08, allocations: 7.896 MB / 5.158 GB, free: 139 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/13.09, allocations: 1.626 MB / 5.16 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/13.09, allocations: 0.5575 MB / 5.16 GB, free: 136.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/13.09, allocations: 217 kB / 5.16 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/13.09, allocations: 0.5613 MB / 5.161 GB, free: 135.9 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001127/13.09, allocations: 86.36 kB / 5.161 GB, free: 135.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 4.127e-06/13.09, allocations: 0 / 5.161 GB, free: 135.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.005907/13.09, allocations: 2.81 MB / 5.164 GB, free: 132.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/13.09, allocations: 112.1 kB / 5.164 GB, free: 132.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/13.1, allocations: 1.185 MB / 5.165 GB, free: 131.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-05/13.1, allocations: 29.7 kB / 5.165 GB, free: 131.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/13.1, allocations: 0.9558 MB / 5.166 GB, free: 130.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/13.1, allocations: 358.7 kB / 5.166 GB, free: 130.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/13.1, allocations: 0 / 5.166 GB, free: 130.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000102/13.1, allocations: 353.9 kB / 5.167 GB, free: 129.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/13.1, allocations: 418.5 kB / 5.167 GB, free: 129.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/13.1, allocations: 0.736 MB / 5.168 GB, free: 128.6 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/13.1, allocations: 1.791 MB / 5.17 GB, free: 126.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/13.1, allocations: 3.938 kB / 5.17 GB, free: 126.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002602/13.11, allocations: 1.391 MB / 5.171 GB, free: 125.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007493/13.11, allocations: 2.946 MB / 5.174 GB, free: 122.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/13.11, allocations: 4 kB / 5.174 GB, free: 122.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/13.11, allocations: 44.78 kB / 5.174 GB, free: 122.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/13.11, allocations: 303.2 kB / 5.174 GB, free: 121.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/13.11, allocations: 1.441 MB / 5.176 GB, free: 120.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/13.11, allocations: 156.5 kB / 5.176 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/13.11, allocations: 51.98 kB / 5.176 GB, free: 120.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/13.11, allocations: 5.031 kB / 5.176 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/13.11, allocations: 1.168 MB / 5.177 GB, free: 119 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/13.11, allocations: 8 kB / 5.177 GB, free: 119 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/13.11, allocations: 36.84 kB / 5.177 GB, free: 119 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/13.11, allocations: 296 kB / 5.177 GB, free: 118.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008644/13.12, allocations: 1.439 MB / 5.179 GB, free: 117.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/13.12, allocations: 159.7 kB / 5.179 GB, free: 117 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/13.12, allocations: 55.94 kB / 5.179 GB, free: 116.9 MB / 1.182 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003491/13.12, allocations: 145.4 kB / 5.179 GB, free: 116.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001957/13.12, allocations: 1.156 MB / 5.18 GB, free: 115.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/13.12, allocations: 185.7 kB / 5.18 GB, free: 115.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/13.12, allocations: 1.248 MB / 5.182 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/13.12, allocations: 8 kB / 5.182 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/13.12, allocations: 4 kB / 5.182 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/13.12, allocations: 0.9962 MB / 5.183 GB, free: 113.1 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.005542/13.13, allocations: 3.25 MB / 5.186 GB, free: 109.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/13.13, allocations: 3.938 kB / 5.186 GB, free: 109.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/13.13, allocations: 247.8 kB / 5.186 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/13.13, allocations: 77.62 kB / 5.186 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/13.13, allocations: 15.98 kB / 5.186 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/13.13, allocations: 2.664 MB / 5.189 GB, free: 106.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/13.13, allocations: 4.156 kB / 5.189 GB, free: 106.5 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/13.14, allocations: 1.93 MB / 5.191 GB, free: 104.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009685/13.14, allocations: 378.3 kB / 5.191 GB, free: 104.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/13.14, allocations: 12 kB / 5.191 GB, free: 104.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/13.14, allocations: 131.7 kB / 5.191 GB, free: 104 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/13.14, allocations: 77.2 kB / 5.191 GB, free: 103.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/13.14, allocations: 43.97 kB / 5.191 GB, free: 103.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001814/13.14, allocations: 0.8937 MB / 5.192 GB, free: 103 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.31e-07/13.14, allocations: 0 / 5.192 GB, free: 103 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005691/13.15, allocations: 1.129 MB / 5.193 GB, free: 101.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (vol.dynBal.medium.Xi[1],vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.medium.Xi[1],hea.vol.dynBal.U,hea.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007544/13.15, allocations: 6.304 MB / 5.199 GB, free: 95.57 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003206/13.16, allocations: 2.072 MB / 5.201 GB, free: 93.46 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/13.16, allocations: 0 / 5.201 GB, free: 93.46 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/13.16, allocations: 0.7386 MB / 5.202 GB, free: 92.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/13.16, allocations: 0.9107 MB / 5.203 GB, free: 91.81 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007748/13.17, allocations: 3.631 MB / 5.206 GB, free: 88.13 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009194/13.17, allocations: 1.621 MB / 5.208 GB, free: 86.47 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003028/13.17, allocations: 0.7078 MB / 5.209 GB, free: 85.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008854/13.18, allocations: 0.8078 MB / 5.21 GB, free: 84.99 MB / 1.182 GB Notification: Performance of SimCode: time 9.52e-07/13.18, allocations: 0 / 5.21 GB, free: 84.99 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/13.29, allocations: 73.9 MB / 5.282 GB, free: 11.58 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/13.29, allocations: 162.8 kB / 5.282 GB, free: 11.39 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.885/18.18, allocations: 3.938 kB / 5.282 GB, free: 11.39 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat does not exist to compare? outputFormat=mat