Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",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.291/2.291, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001292/0.001292, allocations: 190.8 kB / 0.4901 GB, free: 2.238 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.491/1.491, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001013/0.001013, allocations: 104 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.218, allocations: 2.215 GB / 3.444 GB, free: 234.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/5.218, allocations: 95.95 kB / 3.444 GB, free: 234.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.263/13.48, allocations: 2.347 GB / 5.791 GB, free: 132.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.834e-06/13.48, allocations: 0 / 5.791 GB, free: 132.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001622/13.48, allocations: 151.1 kB / 5.791 GB, free: 132.2 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1075 * Number of variables: 1075 Notification: Performance of Generate backend data structure: time 0.03407/13.52, allocations: 6.9 MB / 5.798 GB, free: 125.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/13.52, allocations: 8.031 kB / 5.798 GB, free: 125.3 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003567/13.52, allocations: 0.5815 MB / 5.799 GB, free: 124.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/13.53, allocations: 1.336 MB / 5.8 GB, free: 123.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/13.56, allocations: 7.137 MB / 5.807 GB, free: 116.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/13.56, allocations: 314.4 kB / 5.807 GB, free: 116 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/13.56, allocations: 443.7 kB / 5.808 GB, free: 115.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/13.58, allocations: 5.845 MB / 5.813 GB, free: 109.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/13.58, allocations: 7.906 kB / 5.813 GB, free: 109.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/13.58, allocations: 174 kB / 5.813 GB, free: 109.4 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/13.58, allocations: 204 kB / 5.814 GB, free: 109.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/13.6, allocations: 5.091 MB / 5.819 GB, free: 104.1 MB / 1.214 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.04995/13.65, allocations: 25.59 MB / 5.844 GB, free: 76.96 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/13.65, allocations: 4.101 MB / 5.848 GB, free: 72.74 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/13.65, allocations: 0.9113 MB / 5.848 GB, free: 71.64 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003886/13.66, allocations: 1.944 MB / 5.85 GB, free: 69.65 MB / 1.214 GB Notification: Performance of pre-optimization done (n=285): time 5.721e-06/13.66, allocations: 0 / 5.85 GB, free: 69.65 MB / 1.214 GB Notification: Performance of matching and sorting (n=289): time 0.0252/13.68, allocations: 10.36 MB / 5.86 GB, free: 59.07 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/13.68, allocations: 162.8 kB / 5.861 GB, free: 58.88 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009901/13.69, allocations: 4.254 MB / 5.865 GB, free: 54.63 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0009362/13.69, allocations: 81.7 kB / 5.865 GB, free: 54.54 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/13.7, allocations: 2.45 MB / 5.867 GB, free: 52.07 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/13.7, allocations: 1 MB / 5.868 GB, free: 51.05 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005982/13.7, allocations: 60 kB / 5.868 GB, free: 51 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003262/13.7, allocations: 424 kB / 5.869 GB, free: 50.57 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/13.7, allocations: 1.567 MB / 5.87 GB, free: 49 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/13.71, allocations: 2.324 MB / 5.872 GB, free: 46.41 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/13.71, allocations: 2.026 MB / 5.874 GB, free: 44.36 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/13.71, allocations: 4 kB / 5.874 GB, free: 44.36 MB / 1.214 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01032/13.72, allocations: 4.61 MB / 5.879 GB, free: 39.69 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/13.72, allocations: 5.702 MB / 5.885 GB, free: 33.38 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/13.72, allocations: 12 kB / 5.885 GB, free: 33.37 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/13.72, allocations: 217.5 kB / 5.885 GB, free: 33.15 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/13.73, allocations: 0.6748 MB / 5.885 GB, free: 32.47 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/13.73, allocations: 3.445 MB / 5.889 GB, free: 28.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007195/13.74, allocations: 0.5691 MB / 5.889 GB, free: 28.27 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008445/13.74, allocations: 124 kB / 5.889 GB, free: 28.15 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/13.74, allocations: 5.094 kB / 5.889 GB, free: 28.15 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008892/13.75, allocations: 4.177 MB / 5.894 GB, free: 23.93 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/13.75, allocations: 15.98 kB / 5.894 GB, free: 23.91 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/13.75, allocations: 209.6 kB / 5.894 GB, free: 23.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/13.75, allocations: 0.6709 MB / 5.894 GB, free: 23.03 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/13.75, allocations: 4.117 MB / 5.898 GB, free: 18.63 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/13.76, allocations: 0.5534 MB / 5.899 GB, free: 18.07 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008655/13.76, allocations: 120 kB / 5.899 GB, free: 17.96 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 349 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00581/13.77, allocations: 2.173 MB / 5.901 GB, free: 15.77 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/13.77, allocations: 466.4 kB / 5.902 GB, free: 15.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/13.78, allocations: 4.367 MB / 5.906 GB, free: 10.88 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/13.78, allocations: 28 kB / 5.906 GB, free: 10.85 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/13.78, allocations: 0 / 5.906 GB, free: 10.85 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006146/13.79, allocations: 3.648 MB / 5.91 GB, free: 7.125 MB / 1.214 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.02826/13.82, allocations: 10.86 MB / 5.92 GB, free: 12.02 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/13.82, allocations: 4 kB / 5.92 GB, free: 12.02 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/13.82, allocations: 0.6517 MB / 5.921 GB, free: 11.37 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006139/13.82, allocations: 169.6 kB / 5.921 GB, free: 11.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006809/13.82, allocations: 87.92 kB / 5.921 GB, free: 11.11 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/13.82, allocations: 3.364 MB / 5.924 GB, free: 7.562 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/13.82, allocations: 7.938 kB / 5.924 GB, free: 7.555 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/13.84, allocations: 6.874 MB / 5.931 GB, free: 396 kB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.8272/14.67, allocations: 1.117 MB / 5.932 GB, free: 158.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/14.67, allocations: 77.48 kB / 5.932 GB, free: 158.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005935/14.67, allocations: 471.4 kB / 5.933 GB, free: 158.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/14.67, allocations: 174.8 kB / 5.933 GB, free: 158.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003601/14.67, allocations: 118.2 kB / 5.933 GB, free: 158.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.008096/14.68, allocations: 3.347 MB / 5.936 GB, free: 158.3 MB / 1.229 GB Notification: Performance of sort global known variables: time 3.41e-07/14.68, allocations: 1.562 kB / 5.936 GB, free: 158.3 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.01772/14.7, allocations: 2.934 MB / 5.939 GB, free: 158.3 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.s[1],val.filter.s[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02057/14.72, allocations: 11.17 MB / 5.95 GB, free: 155 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01478/14.74, allocations: 6.461 MB / 5.956 GB, free: 154.4 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/14.74, allocations: 4.562 kB / 5.956 GB, free: 154.4 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/14.74, allocations: 2.091 MB / 5.958 GB, free: 154.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/14.75, allocations: 2.902 MB / 5.961 GB, free: 154.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/14.8, allocations: 31.33 MB / 5.992 GB, free: 132.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007529/14.81, allocations: 4.211 MB / 5.996 GB, free: 131.8 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.01145/14.82, allocations: 2.431 MB / 5.998 GB, free: 131.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00659/14.83, allocations: 2.31 MB / 6 GB, free: 131.8 MB / 1.229 GB Notification: Performance of SimCode: time 1.021e-05/14.83, allocations: 0 / 6 GB, free: 131.8 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3032/15.13, allocations: 186 MB / 6.182 GB, free: 124.2 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/15.13, allocations: 274.5 kB / 6.182 GB, free: 123.8 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/23.27, allocations: 0 / 6.182 GB, free: 123.8 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat does not exist to compare? outputFormat=mat