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.768/2.768, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001114/0.001114, allocations: 184.9 kB / 492.3 MB, free: 0.6211 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.767/1.767, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.001055/0.001055, allocations: 87.91 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.033e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.895/6.213, allocations: 1.954 GB / 3.166 GB, free: 326.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/6.214, allocations: 95.34 kB / 3.166 GB, free: 326.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.854/14.07, allocations: 2.003 GB / 5.17 GB, free: 76.69 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.743e-06/14.07, allocations: 0 / 5.17 GB, free: 76.69 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004227/14.07, allocations: 59.92 kB / 5.17 GB, free: 76.63 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.009846/14.08, allocations: 2.557 MB / 5.172 GB, free: 74 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/14.08, allocations: 8.031 kB / 5.172 GB, free: 74 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/14.08, allocations: 215.5 kB / 5.172 GB, free: 73.77 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006724/14.09, allocations: 0.8905 MB / 5.173 GB, free: 72.88 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007435/14.09, allocations: 2.362 MB / 5.176 GB, free: 70.47 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/14.09, allocations: 126.9 kB / 5.176 GB, free: 70.34 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/14.09, allocations: 152 kB / 5.176 GB, free: 70.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/14.1, allocations: 1.698 MB / 5.178 GB, free: 68.43 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/14.1, allocations: 3.906 kB / 5.178 GB, free: 68.43 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/14.1, allocations: 67.98 kB / 5.178 GB, free: 68.36 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/14.1, allocations: 54.88 kB / 5.178 GB, free: 68.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/14.1, allocations: 1.343 MB / 5.179 GB, free: 66.96 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.01253/14.11, allocations: 8.149 MB / 5.187 GB, free: 58.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/14.12, allocations: 1.633 MB / 5.188 GB, free: 56.41 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/14.12, allocations: 0.5816 MB / 5.189 GB, free: 55.83 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/14.12, allocations: 223.1 kB / 5.189 GB, free: 55.57 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/14.12, allocations: 0.583 MB / 5.19 GB, free: 54.98 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001127/14.12, allocations: 123.2 kB / 5.19 GB, free: 54.86 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 6.071e-06/14.12, allocations: 0 / 5.19 GB, free: 54.86 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.006035/14.12, allocations: 2.732 MB / 5.193 GB, free: 52.06 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/14.12, allocations: 119.8 kB / 5.193 GB, free: 51.92 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/14.13, allocations: 1.289 MB / 5.194 GB, free: 50.58 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/14.13, allocations: 49.7 kB / 5.194 GB, free: 50.53 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008072/14.13, allocations: 0.9599 MB / 5.195 GB, free: 49.55 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/14.13, allocations: 370.5 kB / 5.195 GB, free: 49.19 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/14.13, allocations: 32 kB / 5.195 GB, free: 49.16 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/14.13, allocations: 353.9 kB / 5.196 GB, free: 48.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/14.13, allocations: 426.5 kB / 5.196 GB, free: 48.39 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/14.13, allocations: 0.7673 MB / 5.197 GB, free: 47.48 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.008314/14.14, allocations: 2.176 MB / 5.199 GB, free: 45.28 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/14.14, allocations: 4 kB / 5.199 GB, free: 45.27 MB / 1.182 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002471/14.14, allocations: 1.443 MB / 5.2 GB, free: 43.82 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006533/14.14, allocations: 2.944 MB / 5.203 GB, free: 40.64 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/14.14, allocations: 8 kB / 5.203 GB, free: 40.64 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/14.14, allocations: 44.8 kB / 5.203 GB, free: 40.59 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/14.14, allocations: 299.6 kB / 5.204 GB, free: 40.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/14.14, allocations: 1.495 MB / 5.205 GB, free: 38.67 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/14.15, allocations: 183.7 kB / 5.205 GB, free: 38.49 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/14.15, allocations: 59.92 kB / 5.205 GB, free: 38.43 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/14.15, allocations: 4 kB / 5.205 GB, free: 38.43 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/14.15, allocations: 1.26 MB / 5.207 GB, free: 37.16 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/14.15, allocations: 4 kB / 5.207 GB, free: 37.16 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/14.15, allocations: 44.84 kB / 5.207 GB, free: 37.11 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/14.15, allocations: 291.9 kB / 5.207 GB, free: 36.83 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008673/14.15, allocations: 1.503 MB / 5.208 GB, free: 35.19 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/14.15, allocations: 179.8 kB / 5.208 GB, free: 35.02 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/14.15, allocations: 55.98 kB / 5.209 GB, free: 34.96 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.0003342/14.15, allocations: 184.6 kB / 5.209 GB, free: 34.77 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/14.15, allocations: 189.7 kB / 5.209 GB, free: 34.59 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/14.16, allocations: 1.284 MB / 5.21 GB, free: 33.29 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/14.16, allocations: 8 kB / 5.21 GB, free: 33.28 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/14.16, allocations: 4 kB / 5.21 GB, free: 33.27 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/14.16, allocations: 1.008 MB / 5.211 GB, free: 32.24 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.0064/14.16, allocations: 3.455 MB / 5.215 GB, free: 28.65 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/14.16, allocations: 4 kB / 5.215 GB, free: 28.64 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/14.17, allocations: 243.6 kB / 5.215 GB, free: 28.41 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/14.17, allocations: 77.7 kB / 5.215 GB, free: 28.32 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/14.17, allocations: 27.98 kB / 5.215 GB, free: 28.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/14.17, allocations: 2.757 MB / 5.218 GB, free: 25.27 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/14.17, allocations: 4.031 kB / 5.218 GB, free: 25.27 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/14.17, allocations: 1.95 MB / 5.219 GB, free: 23.23 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/14.17, allocations: 374.6 kB / 5.22 GB, free: 22.84 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/14.17, allocations: 24 kB / 5.22 GB, free: 22.82 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/14.17, allocations: 155.7 kB / 5.22 GB, free: 22.67 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/14.17, allocations: 84.88 kB / 5.22 GB, free: 22.59 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/14.17, allocations: 47.97 kB / 5.22 GB, free: 22.54 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001737/14.18, allocations: 0.9961 MB / 5.221 GB, free: 21.51 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.11e-07/14.18, allocations: 0 / 5.221 GB, free: 21.51 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00474/14.18, allocations: 1.257 MB / 5.222 GB, free: 20.25 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.007522/14.19, allocations: 6.166 MB / 5.228 GB, free: 13.68 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003142/14.19, allocations: 2.168 MB / 5.23 GB, free: 11.46 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/14.19, allocations: 0 / 5.23 GB, free: 11.46 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/14.19, allocations: 0.7617 MB / 5.231 GB, free: 10.68 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/14.2, allocations: 0.952 MB / 5.232 GB, free: 9.73 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/14.2, allocations: 3.726 MB / 5.236 GB, free: 5.934 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/14.2, allocations: 1.621 MB / 5.237 GB, free: 4.281 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002932/14.21, allocations: 0.7103 MB / 5.238 GB, free: 3.566 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/14.21, allocations: 0.8078 MB / 5.239 GB, free: 2.758 MB / 1.182 GB Notification: Performance of SimCode: time 8.51e-07/14.21, allocations: 0 / 5.239 GB, free: 2.758 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/15.25, allocations: 104.8 MB / 5.341 GB, free: 176.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/15.25, allocations: 208.3 kB / 5.341 GB, free: 176 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.267/21.52, allocations: 2.531 kB / 5.341 GB, free: 176 MB / 1.198 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