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.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.95 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.001191/0.001191, allocations: 180.9 kB / 491.2 MB, free: 1.562 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.592/1.592, 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.0008704/0.0008703, allocations: 95.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.008e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2947, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.731/7.025, allocations: 1.896 GB / 3.108 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/7.026, allocations: 85.45 kB / 3.108 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.18/11.21, allocations: 0.998 GB / 4.106 GB, free: 218.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.906e-06/11.21, allocations: 0 / 4.106 GB, free: 218.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002254/11.21, allocations: 29.69 kB / 4.106 GB, free: 218.5 MB / 1.151 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.01098/11.22, allocations: 1.789 MB / 4.108 GB, free: 217.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/11.22, allocations: 11.84 kB / 4.108 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/11.22, allocations: 0.5512 MB / 4.109 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/11.23, allocations: 1.072 MB / 4.11 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009765/11.23, allocations: 167.8 kB / 4.11 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/11.23, allocations: 50.97 kB / 4.11 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003525/11.23, allocations: 0.993 MB / 4.111 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/11.24, allocations: 1.029 MB / 4.112 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/11.24, allocations: 0 / 4.112 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/11.24, allocations: 0 / 4.112 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/11.24, allocations: 42.11 kB / 4.112 GB, free: 215.5 MB / 1.151 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.01115/11.25, allocations: 4.029 MB / 4.116 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/11.25, allocations: 0.7194 MB / 4.116 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/11.25, allocations: 0.5016 MB / 4.117 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/11.25, allocations: 0.604 MB / 4.118 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/11.25, allocations: 46.19 kB / 4.118 GB, free: 211.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 5.82e-06/11.25, allocations: 0 / 4.118 GB, free: 211.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.004153/11.26, allocations: 1.134 MB / 4.119 GB, free: 210.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/11.26, allocations: 59.53 kB / 4.119 GB, free: 210.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/11.26, allocations: 0.5588 MB / 4.119 GB, free: 210.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/11.26, allocations: 29.61 kB / 4.119 GB, free: 210.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/11.26, allocations: 457.2 kB / 4.12 GB, free: 209.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/11.26, allocations: 246.1 kB / 4.12 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/11.26, allocations: 3.656 kB / 4.12 GB, free: 209.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001128/11.26, allocations: 337.8 kB / 4.12 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/11.26, allocations: 397.9 kB / 4.121 GB, free: 209 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009857/11.26, allocations: 0.5213 MB / 4.121 GB, free: 208.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/11.26, allocations: 0.5818 MB / 4.122 GB, free: 208.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/11.26, allocations: 3.031 kB / 4.122 GB, free: 208.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00355/11.27, allocations: 1.173 MB / 4.123 GB, free: 207.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/11.27, allocations: 482.3 kB / 4.123 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/11.27, allocations: 7.156 kB / 4.123 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/11.27, allocations: 3.219 kB / 4.123 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/11.27, allocations: 287.6 kB / 4.124 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/11.27, allocations: 1.202 MB / 4.125 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/11.27, allocations: 171.4 kB / 4.125 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/11.27, allocations: 42.28 kB / 4.125 GB, free: 205.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/11.27, allocations: 7.062 kB / 4.125 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002318/11.28, allocations: 1.071 MB / 4.126 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/11.28, allocations: 3.844 kB / 4.126 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/11.28, allocations: 3.844 kB / 4.126 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/11.28, allocations: 253.9 kB / 4.126 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/11.28, allocations: 3.875 kB / 4.126 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/11.28, allocations: 172.1 kB / 4.127 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/11.28, allocations: 41.88 kB / 4.127 GB, free: 205.3 MB / 1.151 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 () * 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.0003321/11.28, allocations: 125.5 kB / 4.127 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002185/11.28, allocations: 1.076 MB / 4.128 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/11.28, allocations: 90.47 kB / 4.128 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/11.28, allocations: 1.197 MB / 4.129 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/11.28, allocations: 10.47 kB / 4.129 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/11.28, allocations: 0 / 4.129 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/11.28, allocations: 7.938 kB / 4.129 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/11.29, allocations: 2.582 MB / 4.132 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/11.29, allocations: 7.25 kB / 4.132 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/11.29, allocations: 256.9 kB / 4.132 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/11.29, allocations: 7.219 kB / 4.132 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/11.29, allocations: 27.17 kB / 4.132 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005284/11.29, allocations: 1.182 MB / 4.133 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/11.29, allocations: 10.06 kB / 4.133 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/11.29, allocations: 1.49 MB / 4.134 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/11.29, allocations: 312 kB / 4.135 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/11.29, allocations: 7.656 kB / 4.135 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/11.3, allocations: 157.3 kB / 4.135 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/11.3, allocations: 62 kB / 4.135 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/11.3, allocations: 40.59 kB / 4.135 GB, free: 199.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001076/11.3, allocations: 436.4 kB / 4.135 GB, free: 199.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/11.3, allocations: 0 / 4.135 GB, free: 199.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004028/11.3, allocations: 0.6856 MB / 4.136 GB, free: 199.1 MB / 1.151 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 () * 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.008749/11.31, allocations: 5.581 MB / 4.142 GB, free: 195.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003703/11.31, allocations: 1.612 MB / 4.143 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/11.31, allocations: 0 / 4.143 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/11.32, allocations: 0.5236 MB / 4.144 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/11.32, allocations: 421.4 kB / 4.144 GB, free: 194.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/11.33, allocations: 2.536 MB / 4.146 GB, free: 192.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/11.33, allocations: 1.116 MB / 4.148 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002431/11.34, allocations: 453.2 kB / 4.148 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/11.34, allocations: 378.8 kB / 4.148 GB, free: 191.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/11.34, allocations: 4 kB / 4.148 GB, free: 191.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0923/11.43, allocations: 43.53 MB / 4.191 GB, free: 149.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/11.43, allocations: 187.7 kB / 4.191 GB, free: 148.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/14.93, allocations: 2.031 kB / 4.191 GB, free: 148.9 MB / 1.151 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