Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.DryCoilDiscretized,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.276/2.276, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001696/0.001695, allocations: 173.1 kB / 498.1 MB, free: 5.68 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.601/1.601, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.0009181/0.0009181, allocations: 99.83 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 14.36 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.081/5.365, allocations: 2.196 GB / 3.419 GB, free: 288.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/5.365, allocations: 92.98 kB / 3.419 GB, free: 288.8 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 20.43/25.79, allocations: 5.499 GB / 8.919 GB, free: 92.84 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.316e-06/25.79, allocations: 0 / 8.919 GB, free: 92.84 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.00305/25.8, allocations: 212.2 kB / 8.919 GB, free: 92.81 MB / 1.245 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.05561/25.85, allocations: 11.38 MB / 8.93 GB, free: 89.48 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/25.85, allocations: 7.031 kB / 8.93 GB, free: 89.48 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007421/25.86, allocations: 0.9433 MB / 8.931 GB, free: 89.41 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/25.87, allocations: 1.855 MB / 8.933 GB, free: 88.91 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03856/25.91, allocations: 15.21 MB / 8.948 GB, free: 87.72 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/25.91, allocations: 475.3 kB / 8.948 GB, free: 87.7 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003837/25.92, allocations: 0.6262 MB / 8.949 GB, free: 87.7 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03083/25.95, allocations: 11.55 MB / 8.96 GB, free: 87.09 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/25.95, allocations: 17.81 kB / 8.96 GB, free: 87.09 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001797/25.95, allocations: 258.2 kB / 8.96 GB, free: 87.09 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002897/25.95, allocations: 289.8 kB / 8.96 GB, free: 87.07 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/25.98, allocations: 10.69 MB / 8.971 GB, free: 87.01 MB / 1.245 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.1026/26.08, allocations: 49.96 MB / 9.02 GB, free: 69.99 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/26.09, allocations: 7.092 MB / 9.027 GB, free: 69.13 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/26.09, allocations: 0.9323 MB / 9.028 GB, free: 68.19 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/26.09, allocations: 81.56 kB / 9.028 GB, free: 68.14 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01007/26.1, allocations: 1.37 MB / 9.029 GB, free: 68 MB / 1.245 GB Notification: Performance of pre-optimization done (n=369): time 4.369e-05/26.11, allocations: 2.844 kB / 9.029 GB, free: 68 MB / 1.245 GB Notification: Performance of matching and sorting (n=375): time 0.05874/26.16, allocations: 19.39 MB / 9.048 GB, free: 65.98 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/26.16, allocations: 88.45 kB / 9.048 GB, free: 65.91 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0247/26.19, allocations: 8.136 MB / 9.056 GB, free: 65.56 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.002221/26.19, allocations: 103.1 kB / 9.056 GB, free: 65.53 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.007507/26.2, allocations: 3.623 MB / 9.06 GB, free: 64.38 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.004097/26.2, allocations: 1.321 MB / 9.061 GB, free: 63.54 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/26.2, allocations: 74.12 kB / 9.061 GB, free: 63.54 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0007106/26.2, allocations: 498.2 kB / 9.061 GB, free: 63.22 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00695/26.21, allocations: 3.415 MB / 9.065 GB, free: 63.21 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007795/26.22, allocations: 4.461 MB / 9.069 GB, free: 61.81 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007704/26.23, allocations: 4.368 MB / 9.073 GB, free: 60.45 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/26.23, allocations: 6.281 kB / 9.073 GB, free: 60.45 MB / 1.245 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02005/26.25, allocations: 8.674 MB / 9.082 GB, free: 57.78 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.004556/26.25, allocations: 8.938 MB / 9.091 GB, free: 64.36 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.669e-05/26.25, allocations: 23.92 kB / 9.091 GB, free: 64.35 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/26.25, allocations: 260.1 kB / 9.091 GB, free: 64.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005807/26.26, allocations: 1.098 MB / 9.092 GB, free: 64.27 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/26.26, allocations: 3.57 MB / 9.095 GB, free: 62.04 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/26.28, allocations: 1.182 MB / 9.097 GB, free: 61.92 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/26.28, allocations: 165.6 kB / 9.097 GB, free: 61.89 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/26.28, allocations: 4.281 kB / 9.097 GB, free: 61.89 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01816/26.3, allocations: 8.114 MB / 9.105 GB, free: 59.5 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-05/26.3, allocations: 16.5 kB / 9.105 GB, free: 59.5 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/26.3, allocations: 257.3 kB / 9.105 GB, free: 59.45 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/26.3, allocations: 1.104 MB / 9.106 GB, free: 59.42 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/26.31, allocations: 3.567 MB / 9.109 GB, free: 57.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/26.32, allocations: 1.163 MB / 9.111 GB, free: 56.85 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/26.32, allocations: 162.4 kB / 9.111 GB, free: 56.7 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.01517/26.34, allocations: 5.29 MB / 9.116 GB, free: 52.48 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004428/26.34, allocations: 0.6175 MB / 9.116 GB, free: 51.86 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/26.36, allocations: 8.179 MB / 9.124 GB, free: 45.11 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/26.36, allocations: 42.52 kB / 9.125 GB, free: 45.07 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/26.36, allocations: 4 kB / 9.125 GB, free: 45.07 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01213/26.37, allocations: 6.915 MB / 9.131 GB, free: 39.09 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.0549/26.43, allocations: 20.8 MB / 9.152 GB, free: 21.84 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/26.43, allocations: 6.594 kB / 9.152 GB, free: 21.84 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005605/26.43, allocations: 1.054 MB / 9.153 GB, free: 21.07 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/26.43, allocations: 236.4 kB / 9.153 GB, free: 20.88 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/26.44, allocations: 131 kB / 9.153 GB, free: 20.77 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/26.44, allocations: 3.538 MB / 9.156 GB, free: 17.53 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/26.44, allocations: 4 kB / 9.156 GB, free: 17.52 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02897/26.47, allocations: 12.6 MB / 9.169 GB, free: 6.488 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009405/26.48, allocations: 2.129 MB / 9.171 GB, free: 4.52 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003849/26.48, allocations: 114.7 kB / 9.171 GB, free: 4.418 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01048/26.49, allocations: 0.9489 MB / 9.172 GB, free: 3.84 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/26.49, allocations: 236.8 kB / 9.172 GB, free: 3.695 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001233/26.5, allocations: 140.8 kB / 9.172 GB, free: 3.578 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02116/26.52, allocations: 6.8 MB / 9.179 GB, free: 15.12 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.944e-06/26.52, allocations: 1.344 kB / 9.179 GB, free: 15.12 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.02944/26.55, allocations: 4.691 MB / 9.183 GB, free: 10.47 MB / 1.276 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 0.04453/26.59, allocations: 18.76 MB / 9.202 GB, free: 12.68 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02892/26.62, allocations: 11.95 MB / 9.213 GB, free: 2.77 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.192e-05/26.62, allocations: 4 kB / 9.213 GB, free: 2.766 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.9892/27.61, allocations: 3.733 MB / 9.217 GB, free: 143.3 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02887/27.64, allocations: 4.839 MB / 9.222 GB, free: 143.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08884/27.73, allocations: 43.65 MB / 9.264 GB, free: 121.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/27.74, allocations: 7.13 MB / 9.271 GB, free: 121 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02406/27.76, allocations: 6.751 MB / 9.278 GB, free: 120.9 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/27.78, allocations: 3.348 MB / 9.281 GB, free: 120.9 MB / 1.292 GB Notification: Performance of SimCode: time 1.262e-06/27.78, allocations: 0 / 9.281 GB, free: 120.9 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4634/28.24, allocations: 306.4 MB / 9.581 GB, free: 44.29 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/28.24, allocations: 248.3 kB / 9.581 GB, free: 43.96 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/38.88, allocations: 3.938 kB / 9.581 GB, free: 43.96 MB / 1.292 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized_res.mat does not exist to compare? outputFormat=mat