Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.28/2.28, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001143/0.001143, allocations: 182.9 kB / 0.4901 GB, free: 2.25 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.568/1.568, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0008709/0.0008705, allocations: 100.2 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003754, allocations: 10.91 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.491/4.747, allocations: 2.197 GB / 3.426 GB, free: 253.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/4.747, allocations: 92.52 kB / 3.426 GB, free: 253.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 22.21/26.96, allocations: 5.5 GB / 8.926 GB, free: 99.89 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.968e-06/26.96, allocations: 0 / 8.926 GB, free: 99.89 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.003253/26.96, allocations: 218.1 kB / 8.926 GB, free: 99.86 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.05765/27.02, allocations: 11.38 MB / 8.937 GB, free: 96.47 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 8.845e-05/27.02, allocations: 11.03 kB / 8.937 GB, free: 96.47 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009311/27.03, allocations: 0.9434 MB / 8.938 GB, free: 96.39 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/27.04, allocations: 1.856 MB / 8.94 GB, free: 95.9 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05171/27.09, allocations: 15.2 MB / 8.955 GB, free: 94.71 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009466/27.1, allocations: 472.9 kB / 8.955 GB, free: 94.7 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005177/27.1, allocations: 0.6348 MB / 8.956 GB, free: 94.69 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04396/27.15, allocations: 11.54 MB / 8.967 GB, free: 94.09 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00109/27.15, allocations: 14.03 kB / 8.967 GB, free: 94.09 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006309/27.15, allocations: 261 kB / 8.967 GB, free: 94.09 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007457/27.15, allocations: 289.4 kB / 8.968 GB, free: 94.07 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03425/27.19, allocations: 10.69 MB / 8.978 GB, free: 94.01 MB / 1.26 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1166/27.3, allocations: 49.98 MB / 9.027 GB, free: 76.97 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/27.32, allocations: 7.08 MB / 9.034 GB, free: 76.11 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/27.32, allocations: 0.9351 MB / 9.035 GB, free: 75.17 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/27.32, allocations: 87.02 kB / 9.035 GB, free: 75.12 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01027/27.33, allocations: 1.371 MB / 9.036 GB, free: 74.98 MB / 1.26 GB Notification: Performance of pre-optimization done (n=369): time 3.781e-05/27.33, allocations: 1.219 kB / 9.036 GB, free: 74.98 MB / 1.26 GB Notification: Performance of matching and sorting (n=375): time 0.06084/27.39, allocations: 19.37 MB / 9.055 GB, free: 72.96 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/27.39, allocations: 91.73 kB / 9.055 GB, free: 72.89 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02351/27.42, allocations: 8.14 MB / 9.063 GB, free: 72.54 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.002048/27.42, allocations: 102.3 kB / 9.063 GB, free: 72.5 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.006923/27.42, allocations: 3.622 MB / 9.067 GB, free: 71.35 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.004028/27.43, allocations: 1.326 MB / 9.068 GB, free: 70.51 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/27.43, allocations: 78.19 kB / 9.068 GB, free: 70.51 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0007534/27.43, allocations: 491.9 kB / 9.069 GB, free: 70.2 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006679/27.44, allocations: 3.41 MB / 9.072 GB, free: 69.29 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007427/27.45, allocations: 4.461 MB / 9.076 GB, free: 67.29 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008431/27.45, allocations: 4.363 MB / 9.08 GB, free: 65.93 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-05/27.45, allocations: 6.031 kB / 9.08 GB, free: 65.93 MB / 1.26 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02846/27.48, allocations: 8.675 MB / 9.089 GB, free: 63.26 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.003072/27.49, allocations: 8.948 MB / 9.098 GB, free: 53.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/27.49, allocations: 22.31 kB / 9.098 GB, free: 53.83 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/27.49, allocations: 255.8 kB / 9.098 GB, free: 53.77 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006276/27.49, allocations: 1.11 MB / 9.099 GB, free: 53.74 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/27.5, allocations: 3.568 MB / 9.103 GB, free: 51.52 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/27.51, allocations: 1.176 MB / 9.104 GB, free: 51.4 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002059/27.51, allocations: 162.2 kB / 9.104 GB, free: 51.38 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/27.51, allocations: 3.75 kB / 9.104 GB, free: 51.38 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02169/27.54, allocations: 8.111 MB / 9.112 GB, free: 46.09 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/27.54, allocations: 23.12 kB / 9.112 GB, free: 46.08 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/27.54, allocations: 255.6 kB / 9.112 GB, free: 45.87 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/27.54, allocations: 1.105 MB / 9.113 GB, free: 45.05 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/27.55, allocations: 3.56 MB / 9.117 GB, free: 41.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01401/27.56, allocations: 1.163 MB / 9.118 GB, free: 41.09 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/27.57, allocations: 165.6 kB / 9.118 GB, free: 40.95 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 477 * 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: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01415/27.58, allocations: 5.292 MB / 9.123 GB, free: 36.73 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004171/27.58, allocations: 0.6175 MB / 9.124 GB, free: 36.1 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/27.61, allocations: 8.186 MB / 9.132 GB, free: 29.35 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/27.61, allocations: 43.61 kB / 9.132 GB, free: 29.31 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/27.61, allocations: 0 / 9.132 GB, free: 29.31 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01195/27.62, allocations: 6.906 MB / 9.138 GB, free: 23.33 MB / 1.26 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05297/27.67, allocations: 20.8 MB / 9.159 GB, free: 6.09 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/27.67, allocations: 4 kB / 9.159 GB, free: 6.086 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00549/27.68, allocations: 1.051 MB / 9.16 GB, free: 5.297 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008231/27.68, allocations: 238.7 kB / 9.16 GB, free: 5.105 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008028/27.68, allocations: 134.1 kB / 9.16 GB, free: 4.992 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/27.68, allocations: 3.535 MB / 9.164 GB, free: 1.75 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/27.68, allocations: 4 kB / 9.164 GB, free: 1.746 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/27.72, allocations: 13.37 MB / 9.177 GB, free: 8.633 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0102/27.73, allocations: 2.133 MB / 9.179 GB, free: 6.66 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003844/27.73, allocations: 118.8 kB / 9.179 GB, free: 6.559 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01089/27.74, allocations: 0.948 MB / 9.18 GB, free: 5.977 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001667/27.74, allocations: 241.1 kB / 9.18 GB, free: 5.828 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001392/27.74, allocations: 136.6 kB / 9.18 GB, free: 5.711 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01754/27.76, allocations: 6.459 MB / 9.186 GB, free: 464 kB / 1.276 GB Notification: Performance of sort global known variables: time 8.51e-07/27.76, allocations: 0 / 9.186 GB, free: 464 kB / 1.276 GB Notification: Performance of remove unused functions: time 0.03227/27.79, allocations: 4.84 MB / 9.191 GB, free: 12.09 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.medium.Xi[1],hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.medium.Xi[1],hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.medium.Xi[1],hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.medium.Xi[1],hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.medium.Xi[1],hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.medium.Xi[1],hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.181/28.97, allocations: 18.13 MB / 9.209 GB, free: 132.8 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02882/29, allocations: 11.94 MB / 9.221 GB, free: 132.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/29, allocations: 3.281 kB / 9.221 GB, free: 132.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.009001/29.01, allocations: 3.732 MB / 9.224 GB, free: 132.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02694/29.04, allocations: 4.841 MB / 9.229 GB, free: 132.4 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08492/29.12, allocations: 43.65 MB / 9.272 GB, free: 110.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01666/29.14, allocations: 7.125 MB / 9.278 GB, free: 110 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02934/29.17, allocations: 6.754 MB / 9.285 GB, free: 110 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01463/29.19, allocations: 3.358 MB / 9.288 GB, free: 110 MB / 1.292 GB Notification: Performance of SimCode: time 2.655e-06/29.19, allocations: 0 / 9.288 GB, free: 110 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.516/29.7, allocations: 306.4 MB / 9.588 GB, free: 22.38 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/29.7, allocations: 253.9 kB / 9.588 GB, free: 22.05 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/40.54, allocations: 0 / 9.588 GB, free: 22.05 MB / 1.292 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized_res.mat does not exist to compare? outputFormat=mat