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.308/2.308, allocations: 390.5 MB / 398 MB, free: 10.96 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.001121/0.001121, allocations: 176.9 kB / 491.2 MB, free: 1.617 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.575/1.575, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001054/0.001054, allocations: 91.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.354e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.19/6.502, allocations: 2.196 GB / 3.409 GB, free: 102.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/6.503, allocations: 88.48 kB / 3.409 GB, free: 102.7 MB / 1.151 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 23.2/29.7, allocations: 5.447 GB / 8.856 GB, free: 108.2 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.534e-06/29.7, allocations: 0 / 8.856 GB, free: 108.2 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.002606/29.7, allocations: 212 kB / 8.856 GB, free: 108.1 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.03926/29.74, allocations: 8.936 MB / 8.865 GB, free: 105 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/29.74, allocations: 6.719 kB / 8.865 GB, free: 105 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/29.76, allocations: 1.86 MB / 8.866 GB, free: 104.5 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04379/29.8, allocations: 15.12 MB / 8.881 GB, free: 98.4 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/29.8, allocations: 196 kB / 8.881 GB, free: 98.21 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00409/29.81, allocations: 387.8 kB / 8.882 GB, free: 97.83 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02638/29.83, allocations: 9.87 MB / 8.891 GB, free: 88.44 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/29.87, allocations: 10.47 MB / 8.902 GB, free: 77.78 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005359/29.87, allocations: 15.98 kB / 8.902 GB, free: 77.77 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003549/29.87, allocations: 8 kB / 8.902 GB, free: 77.76 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003736/29.87, allocations: 295.3 kB / 8.902 GB, free: 77.47 MB / 1.245 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.09652/29.97, allocations: 48.63 MB / 8.949 GB, free: 26.32 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/29.98, allocations: 7.622 MB / 8.957 GB, free: 18.47 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007831/29.99, allocations: 4.424 MB / 8.961 GB, free: 14.04 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/29.99, allocations: 0.9315 MB / 8.962 GB, free: 12.93 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/29.99, allocations: 94.12 kB / 8.962 GB, free: 12.82 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009353/30, allocations: 1.289 MB / 8.963 GB, free: 11.53 MB / 1.245 GB Notification: Performance of pre-optimization done (n=369): time 4.528e-05/30, allocations: 0 / 8.963 GB, free: 11.53 MB / 1.245 GB Notification: Performance of matching and sorting (n=375): time 0.05522/30.05, allocations: 15.18 MB / 8.978 GB, free: 12.22 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/30.05, allocations: 90.36 kB / 8.978 GB, free: 12.12 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02362/30.08, allocations: 7.69 MB / 8.986 GB, free: 4.43 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001659/30.08, allocations: 29.7 kB / 8.986 GB, free: 4.395 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.006449/30.09, allocations: 3.614 MB / 8.989 GB, free: 0.75 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.003781/30.09, allocations: 1.278 MB / 8.991 GB, free: 15.45 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/30.09, allocations: 0 / 8.991 GB, free: 15.45 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0007902/30.09, allocations: 490.2 kB / 8.991 GB, free: 14.97 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007021/30.1, allocations: 3.189 MB / 8.994 GB, free: 11.78 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006974/30.11, allocations: 4.21 MB / 8.998 GB, free: 7.211 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/30.11, allocations: 4.186 MB / 9.002 GB, free: 3.016 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/30.11, allocations: 4 kB / 9.002 GB, free: 3.012 MB / 1.276 GB Notification: Performance of matching and sorting (n=490) (initialization): time 1.112/31.23, allocations: 8.044 MB / 9.01 GB, free: 150.4 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.002264/31.23, allocations: 9.118 MB / 9.019 GB, free: 140.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/31.23, allocations: 18.28 kB / 9.019 GB, free: 140.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008757/31.23, allocations: 224.9 kB / 9.019 GB, free: 140.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006024/31.23, allocations: 1.119 MB / 9.021 GB, free: 140.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/31.24, allocations: 2.765 MB / 9.023 GB, free: 139.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/31.25, allocations: 1.101 MB / 9.024 GB, free: 139.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/31.25, allocations: 162.2 kB / 9.024 GB, free: 139.7 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/31.25, allocations: 4.219 kB / 9.024 GB, free: 139.7 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01575/31.27, allocations: 7.417 MB / 9.032 GB, free: 139.6 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/31.27, allocations: 17.88 kB / 9.032 GB, free: 139.6 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/31.27, allocations: 224.9 kB / 9.032 GB, free: 139.6 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/31.27, allocations: 1.119 MB / 9.033 GB, free: 139.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/31.28, allocations: 2.764 MB / 9.036 GB, free: 138.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/31.29, allocations: 1.088 MB / 9.037 GB, free: 138.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/31.29, allocations: 170 kB / 9.037 GB, free: 138.4 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001612/31.29, allocations: 190.3 kB / 9.037 GB, free: 138.3 MB / 1.276 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01732/31.31, allocations: 6.852 MB / 9.044 GB, free: 138.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002738/31.31, allocations: 0.6043 MB / 9.044 GB, free: 138.1 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/31.33, allocations: 7.558 MB / 9.052 GB, free: 137.9 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/31.33, allocations: 41.47 kB / 9.052 GB, free: 137.9 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/31.33, allocations: 1.469 kB / 9.052 GB, free: 137.9 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00862/31.33, allocations: 6.401 MB / 9.058 GB, free: 137.4 MB / 1.276 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.03969/31.37, allocations: 19.35 MB / 9.077 GB, free: 135.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/31.37, allocations: 3.75 kB / 9.077 GB, free: 135.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004745/31.38, allocations: 1.066 MB / 9.078 GB, free: 135.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000614/31.38, allocations: 202.8 kB / 9.078 GB, free: 135.8 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004495/31.38, allocations: 77.3 kB / 9.078 GB, free: 135.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/31.38, allocations: 2.756 MB / 9.081 GB, free: 134.6 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/31.38, allocations: 4.719 kB / 9.081 GB, free: 134.6 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/31.4, allocations: 11.87 MB / 9.093 GB, free: 133.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007597/31.41, allocations: 2.1 MB / 9.095 GB, free: 132.7 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003505/31.41, allocations: 55.59 kB / 9.095 GB, free: 132.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009925/31.42, allocations: 0.8886 MB / 9.096 GB, free: 132.7 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/31.42, allocations: 234.9 kB / 9.096 GB, free: 132.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008808/31.42, allocations: 142.1 kB / 9.096 GB, free: 132.7 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01431/31.44, allocations: 6.042 MB / 9.102 GB, free: 132.5 MB / 1.276 GB Notification: Performance of sort global known variables: time 7.72e-07/31.44, allocations: 2.562 kB / 9.102 GB, free: 132.5 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.02961/31.47, allocations: 4.324 MB / 9.106 GB, free: 132.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0329/31.5, allocations: 17.69 MB / 9.123 GB, free: 128.1 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02373/31.52, allocations: 11.27 MB / 9.134 GB, free: 127.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/31.52, allocations: 3.438 kB / 9.134 GB, free: 127.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006865/31.53, allocations: 3.447 MB / 9.138 GB, free: 127.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02652/31.56, allocations: 4.705 MB / 9.142 GB, free: 127.6 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07441/31.63, allocations: 24.01 MB / 9.166 GB, free: 124.6 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01639/31.65, allocations: 7.142 MB / 9.173 GB, free: 123.7 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03422/31.68, allocations: 12.14 MB / 9.185 GB, free: 123.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01161/31.69, allocations: 3.24 MB / 9.188 GB, free: 123.6 MB / 1.276 GB Notification: Performance of SimCode: time 1.122e-06/31.69, allocations: 0 / 9.188 GB, free: 123.6 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/32.11, allocations: 266.1 MB / 9.448 GB, free: 3.742 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/32.11, allocations: 197.3 kB / 9.448 GB, free: 3.539 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/43.27, allocations: 7.938 kB / 9.448 GB, free: 3.531 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