Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.37/2.37, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.0016/0.0016, allocations: 186.5 kB / 0.4901 GB, free: 2.215 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.769/1.769, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009697/0.0009694, allocations: 102.8 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 11.75 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.82/5.16, allocations: 1.896 GB / 3.126 GB, free: 84.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/5.16, allocations: 87.95 kB / 3.126 GB, free: 83.94 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.264/9.424, allocations: 1.01 GB / 4.136 GB, free: 228.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.407e-06/9.424, allocations: 0 / 4.136 GB, free: 228.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.597e-05/9.425, allocations: 35.33 kB / 4.136 GB, free: 228.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006503/9.431, allocations: 1.97 MB / 4.138 GB, free: 227.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/9.431, allocations: 10.84 kB / 4.138 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002313/9.431, allocations: 136 kB / 4.138 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/9.435, allocations: 0.54 MB / 4.138 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/9.437, allocations: 1.078 MB / 4.139 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/9.438, allocations: 200.6 kB / 4.14 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/9.438, allocations: 91.16 kB / 4.14 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/9.441, allocations: 1.338 MB / 4.141 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/9.441, allocations: 0 / 4.141 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/9.441, allocations: 30.88 kB / 4.141 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/9.441, allocations: 47.62 kB / 4.141 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/9.444, allocations: 1.499 MB / 4.142 GB, free: 227.3 MB / 1.167 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.00753/9.452, allocations: 4.205 MB / 4.147 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/9.454, allocations: 1.077 MB / 4.148 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009119/9.455, allocations: 0.6026 MB / 4.148 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/9.455, allocations: 41.41 kB / 4.148 GB, free: 225.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.928e-06/9.455, allocations: 0 / 4.148 GB, free: 225.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005033/9.461, allocations: 1.993 MB / 4.15 GB, free: 225 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/9.461, allocations: 62.72 kB / 4.15 GB, free: 224.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/9.462, allocations: 0.7013 MB / 4.151 GB, free: 224.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/9.462, allocations: 46.14 kB / 4.151 GB, free: 224.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/9.462, allocations: 453 kB / 4.151 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/9.462, allocations: 260.5 kB / 4.152 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/9.462, allocations: 10.91 kB / 4.152 GB, free: 224.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/9.463, allocations: 332.4 kB / 4.152 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/9.464, allocations: 0.5916 MB / 4.153 GB, free: 224.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/9.465, allocations: 0.7454 MB / 4.153 GB, free: 224.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/9.467, allocations: 0.647 MB / 4.154 GB, free: 224 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/9.467, allocations: 3.625 kB / 4.154 GB, free: 224 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003334/9.47, allocations: 1.473 MB / 4.155 GB, free: 223.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/9.47, allocations: 486.9 kB / 4.156 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/9.47, allocations: 3.953 kB / 4.156 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/9.47, allocations: 3.781 kB / 4.156 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/9.472, allocations: 280.8 kB / 4.156 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005225/9.472, allocations: 1.192 MB / 4.157 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/9.474, allocations: 204.5 kB / 4.157 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/9.474, allocations: 42.77 kB / 4.158 GB, free: 222.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/9.474, allocations: 3.656 kB / 4.158 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003043/9.477, allocations: 1.37 MB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/9.477, allocations: 5.031 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/9.477, allocations: 3.188 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/9.479, allocations: 261 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/9.479, allocations: 3.438 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/9.48, allocations: 194.2 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/9.48, allocations: 39.28 kB / 4.159 GB, free: 222.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008864/9.481, allocations: 384.5 kB / 4.16 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/9.481, allocations: 109 kB / 4.16 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/9.485, allocations: 1.501 MB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/9.485, allocations: 7.812 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/9.485, allocations: 0 / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/9.485, allocations: 6.578 kB / 4.161 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/9.49, allocations: 2.99 MB / 4.164 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/9.49, allocations: 6.688 kB / 4.164 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/9.492, allocations: 257.9 kB / 4.164 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/9.492, allocations: 7.344 kB / 4.164 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/9.492, allocations: 25.72 kB / 4.164 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005028/9.493, allocations: 1.196 MB / 4.166 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/9.493, allocations: 6.188 kB / 4.166 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/9.497, allocations: 1.764 MB / 4.167 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/9.498, allocations: 320.2 kB / 4.168 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/9.498, allocations: 22.36 kB / 4.168 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/9.499, allocations: 172.6 kB / 4.168 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/9.499, allocations: 64.83 kB / 4.168 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/9.499, allocations: 37.42 kB / 4.168 GB, free: 219.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008391/9.5, allocations: 0.5666 MB / 4.169 GB, free: 219.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/9.5, allocations: 6.625 kB / 4.169 GB, free: 219.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002536/9.503, allocations: 0.7549 MB / 4.169 GB, free: 219.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007217/9.51, allocations: 5.592 MB / 4.175 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005341/9.515, allocations: 2.211 MB / 4.177 GB, free: 216.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/9.515, allocations: 1.594 kB / 4.177 GB, free: 216.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/9.517, allocations: 0.7275 MB / 4.178 GB, free: 216.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/9.52, allocations: 0.5062 MB / 4.178 GB, free: 216.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/9.537, allocations: 4.454 MB / 4.182 GB, free: 214.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/9.537, allocations: 1.119 MB / 4.184 GB, free: 213.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00189/9.539, allocations: 418.1 kB / 4.184 GB, free: 213.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/9.54, allocations: 392.8 kB / 4.184 GB, free: 213.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/9.54, allocations: 0 / 4.184 GB, free: 213.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/9.646, allocations: 62.29 MB / 4.245 GB, free: 212.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/9.646, allocations: 260.5 kB / 4.245 GB, free: 211.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.15/13.8, allocations: 0 / 4.245 GB, free: 211.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat