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.261/2.261, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001635/0.001636, allocations: 176.8 kB / 487.4 MB, free: 5.02 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.704/1.704, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 91.91 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.993e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3648, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.117/6.481, allocations: 1.895 GB / 3.101 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/6.482, allocations: 82.55 kB / 3.101 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/9.993, allocations: 0.998 GB / 4.099 GB, free: 219.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/9.993, allocations: 0 / 4.099 GB, free: 219.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001722/9.993, allocations: 36.28 kB / 4.099 GB, free: 219.7 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.006586/10, allocations: 1.792 MB / 4.101 GB, free: 218.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/10, allocations: 11.78 kB / 4.101 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/10, allocations: 0.5426 MB / 4.101 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/10.01, allocations: 1.074 MB / 4.102 GB, free: 218.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/10.01, allocations: 162.7 kB / 4.103 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/10.01, allocations: 52.77 kB / 4.103 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/10.01, allocations: 0.99 MB / 4.104 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/10.01, allocations: 1.032 MB / 4.105 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/10.01, allocations: 0 / 4.105 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/10.01, allocations: 3.906 kB / 4.105 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/10.01, allocations: 45.05 kB / 4.105 GB, free: 218.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.007542/10.02, allocations: 4.025 MB / 4.109 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/10.02, allocations: 0.7277 MB / 4.109 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/10.02, allocations: 0.4942 MB / 4.11 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009284/10.02, allocations: 0.6061 MB / 4.11 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/10.02, allocations: 46.12 kB / 4.11 GB, free: 216.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.417e-06/10.02, allocations: 0 / 4.11 GB, free: 216.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002717/10.03, allocations: 1.136 MB / 4.112 GB, free: 216.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/10.03, allocations: 59.22 kB / 4.112 GB, free: 216.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/10.03, allocations: 0.5565 MB / 4.112 GB, free: 216 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/10.03, allocations: 29.58 kB / 4.112 GB, free: 216 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/10.03, allocations: 458.7 kB / 4.113 GB, free: 215.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/10.03, allocations: 251.6 kB / 4.113 GB, free: 215.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/10.03, allocations: 0 / 4.113 GB, free: 215.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/10.03, allocations: 331.6 kB / 4.113 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/10.03, allocations: 393.1 kB / 4.114 GB, free: 215.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/10.03, allocations: 0.5299 MB / 4.114 GB, free: 215.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/10.03, allocations: 0.5721 MB / 4.115 GB, free: 215.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/10.03, allocations: 0 / 4.115 GB, free: 215.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002144/10.03, allocations: 1.185 MB / 4.116 GB, free: 215.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/10.03, allocations: 481.8 kB / 4.116 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/10.03, allocations: 3.938 kB / 4.116 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/10.03, allocations: 3.938 kB / 4.116 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/10.03, allocations: 274.7 kB / 4.117 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005529/10.03, allocations: 1.208 MB / 4.118 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/10.04, allocations: 173.4 kB / 4.118 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/10.04, allocations: 43.45 kB / 4.118 GB, free: 213.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/10.04, allocations: 3.781 kB / 4.118 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001813/10.04, allocations: 1.064 MB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/10.04, allocations: 3.938 kB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/10.04, allocations: 5.938 kB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/10.04, allocations: 260.1 kB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/10.04, allocations: 10.84 kB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/10.04, allocations: 165.7 kB / 4.119 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/10.04, allocations: 38.08 kB / 4.119 GB, free: 213.5 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.0002598/10.04, allocations: 124.1 kB / 4.12 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001985/10.04, allocations: 1.078 MB / 4.121 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/10.04, allocations: 97.97 kB / 4.121 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/10.05, allocations: 1.199 MB / 4.122 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/10.05, allocations: 9.438 kB / 4.122 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/10.05, allocations: 0 / 4.122 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/10.05, allocations: 3.703 kB / 4.122 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/10.05, allocations: 2.576 MB / 4.124 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/10.05, allocations: 7.812 kB / 4.124 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/10.05, allocations: 262.9 kB / 4.125 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/10.05, allocations: 7.5 kB / 4.125 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/10.05, allocations: 18.98 kB / 4.125 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004359/10.05, allocations: 1.195 MB / 4.126 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/10.05, allocations: 6.812 kB / 4.126 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/10.05, allocations: 1.482 MB / 4.127 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000719/10.05, allocations: 307.4 kB / 4.128 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/10.05, allocations: 9.578 kB / 4.128 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/10.06, allocations: 157.3 kB / 4.128 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/10.06, allocations: 60.88 kB / 4.128 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/10.06, allocations: 42.47 kB / 4.128 GB, free: 210.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006221/10.06, allocations: 438.6 kB / 4.128 GB, free: 210.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.06, allocations: 0 / 4.128 GB, free: 210.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002413/10.06, allocations: 0.6805 MB / 4.129 GB, free: 210.6 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.006221/10.07, allocations: 5.585 MB / 4.134 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002781/10.07, allocations: 1.617 MB / 4.136 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/10.07, allocations: 0 / 4.136 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/10.07, allocations: 0.5195 MB / 4.136 GB, free: 207.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/10.07, allocations: 419 kB / 4.137 GB, free: 207.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/10.09, allocations: 2.544 MB / 4.139 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/10.09, allocations: 1.114 MB / 4.14 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002372/10.09, allocations: 440.7 kB / 4.141 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/10.09, allocations: 386.1 kB / 4.141 GB, free: 205.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.333e-06/10.09, allocations: 3.938 kB / 4.141 GB, free: 205.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/10.17, allocations: 43.53 MB / 4.184 GB, free: 178.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/10.17, allocations: 186.8 kB / 4.184 GB, free: 178.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/13.83, allocations: 0 / 4.184 GB, free: 178.4 MB / 1.151 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