Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.181/2.181, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001139/0.001139, allocations: 187.8 kB / 498.1 MB, free: 5.742 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.517/1.517, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001025/0.001025, allocations: 88.08 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8.297 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.038/4.324, allocations: 1.896 GB / 3.119 GB, free: 90.52 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/4.324, allocations: 91.08 kB / 3.119 GB, free: 90.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.863/8.187, allocations: 1.01 GB / 4.129 GB, free: 230.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.216e-06/8.187, allocations: 0 / 4.129 GB, free: 230.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.077e-05/8.188, allocations: 39.8 kB / 4.129 GB, free: 230.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.006254/8.194, allocations: 1.972 MB / 4.13 GB, free: 229.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/8.194, allocations: 7.5 kB / 4.131 GB, free: 229.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/8.194, allocations: 130.4 kB / 4.131 GB, free: 229.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/8.197, allocations: 0.5434 MB / 4.131 GB, free: 229.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/8.2, allocations: 1.084 MB / 4.132 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006165/8.201, allocations: 195.1 kB / 4.132 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/8.201, allocations: 85.53 kB / 4.132 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/8.203, allocations: 1.339 MB / 4.134 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/8.203, allocations: 3.234 kB / 4.134 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/8.204, allocations: 32.64 kB / 4.134 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/8.204, allocations: 44.84 kB / 4.134 GB, free: 229.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/8.207, allocations: 1.507 MB / 4.135 GB, free: 229.4 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.006469/8.213, allocations: 4.201 MB / 4.139 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/8.216, allocations: 1.073 MB / 4.14 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008853/8.216, allocations: 0.6105 MB / 4.141 GB, free: 227.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/8.217, allocations: 48.23 kB / 4.141 GB, free: 227.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.038e-06/8.217, allocations: 0 / 4.141 GB, free: 227.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.004718/8.221, allocations: 1.99 MB / 4.143 GB, free: 227.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/8.221, allocations: 59.75 kB / 4.143 GB, free: 227 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/8.222, allocations: 0.7104 MB / 4.144 GB, free: 226.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/8.222, allocations: 49.45 kB / 4.144 GB, free: 226.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/8.223, allocations: 438.3 kB / 4.144 GB, free: 226.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/8.223, allocations: 261.1 kB / 4.145 GB, free: 226.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/8.223, allocations: 16.81 kB / 4.145 GB, free: 226.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/8.223, allocations: 336.3 kB / 4.145 GB, free: 226.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/8.225, allocations: 0.5933 MB / 4.145 GB, free: 226.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/8.228, allocations: 0.7372 MB / 4.146 GB, free: 226.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/8.23, allocations: 0.6401 MB / 4.147 GB, free: 226.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.23, allocations: 0 / 4.147 GB, free: 226.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.005244/8.235, allocations: 1.478 MB / 4.148 GB, free: 226 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/8.236, allocations: 483.7 kB / 4.149 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/8.236, allocations: 3.812 kB / 4.149 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/8.236, allocations: 7.766 kB / 4.149 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/8.238, allocations: 270.9 kB / 4.149 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006782/8.239, allocations: 1.193 MB / 4.15 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/8.241, allocations: 207 kB / 4.15 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/8.241, allocations: 44.31 kB / 4.15 GB, free: 224.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/8.241, allocations: 11.81 kB / 4.15 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004758/8.246, allocations: 1.365 MB / 4.152 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/8.246, allocations: 0 / 4.152 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/8.246, allocations: 7.844 kB / 4.152 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/8.247, allocations: 257.8 kB / 4.152 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/8.247, allocations: 12.56 kB / 4.152 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/8.25, allocations: 196.4 kB / 4.152 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/8.25, allocations: 40.62 kB / 4.152 GB, free: 224.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.0009597/8.251, allocations: 370.2 kB / 4.153 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/8.251, allocations: 107.8 kB / 4.153 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/8.256, allocations: 1.503 MB / 4.154 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/8.256, allocations: 7.812 kB / 4.154 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/8.256, allocations: 0 / 4.154 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/8.256, allocations: 3.516 kB / 4.154 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/8.265, allocations: 2.987 MB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/8.265, allocations: 3.969 kB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/8.267, allocations: 253.7 kB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/8.267, allocations: 7.844 kB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/8.267, allocations: 32.11 kB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005724/8.268, allocations: 1.196 MB / 4.159 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/8.268, allocations: 3.844 kB / 4.159 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/8.273, allocations: 1.773 MB / 4.16 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/8.274, allocations: 316.7 kB / 4.161 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/8.274, allocations: 20.55 kB / 4.161 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/8.276, allocations: 167 kB / 4.161 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/8.276, allocations: 64.23 kB / 4.161 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/8.276, allocations: 35.86 kB / 4.161 GB, free: 221.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001126/8.277, allocations: 0.5625 MB / 4.161 GB, free: 221.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/8.277, allocations: 0 / 4.161 GB, free: 221.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003388/8.281, allocations: 0.7642 MB / 4.162 GB, free: 221.5 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.009571/8.29, allocations: 5.615 MB / 4.168 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005982/8.296, allocations: 2.211 MB / 4.17 GB, free: 218.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/8.296, allocations: 0 / 4.17 GB, free: 218.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/8.298, allocations: 0.7296 MB / 4.17 GB, free: 218.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/8.301, allocations: 0.5076 MB / 4.171 GB, free: 218.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/8.318, allocations: 4.441 MB / 4.175 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/8.319, allocations: 1.115 MB / 4.176 GB, free: 215.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001897/8.321, allocations: 422.5 kB / 4.177 GB, free: 215.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/8.322, allocations: 389.7 kB / 4.177 GB, free: 215.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/8.322, allocations: 0 / 4.177 GB, free: 215.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09247/8.414, allocations: 62.27 MB / 4.238 GB, free: 214.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/8.414, allocations: 263.3 kB / 4.238 GB, free: 214.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/12.47, allocations: 2.969 kB / 4.238 GB, free: 214.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat