Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.272/2.272, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001324/0.001324, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.673/1.673, allocations: 221.3 MB / 0.7871 GB, free: 12.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.00138/0.00138, allocations: 102.7 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.556e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.039/6.346, allocations: 1.896 GB / 3.108 GB, free: 352.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/6.346, allocations: 81.77 kB / 3.108 GB, free: 352.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.639/9.986, allocations: 1.01 GB / 4.118 GB, free: 212.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.353e-06/9.986, allocations: 0 / 4.118 GB, free: 212.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001582/9.986, allocations: 34.89 kB / 4.118 GB, free: 212.6 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.006546/9.992, allocations: 1.79 MB / 4.12 GB, free: 211.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/9.993, allocations: 10.25 kB / 4.12 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000461/9.993, allocations: 131.1 kB / 4.12 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/9.996, allocations: 0.5442 MB / 4.12 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/10, allocations: 1.067 MB / 4.121 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/10, allocations: 208.1 kB / 4.122 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/10, allocations: 85.2 kB / 4.122 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/10, allocations: 1.146 MB / 4.123 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/10, allocations: 3.422 kB / 4.123 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/10, allocations: 31.31 kB / 4.123 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/10, allocations: 36.17 kB / 4.123 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/10.01, allocations: 1.118 MB / 4.124 GB, free: 209.1 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.007616/10.01, allocations: 4.205 MB / 4.128 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/10.01, allocations: 0.7518 MB / 4.129 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/10.02, allocations: 0.5163 MB / 4.129 GB, free: 205.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008844/10.02, allocations: 0.6054 MB / 4.13 GB, free: 204.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/10.02, allocations: 43.23 kB / 4.13 GB, free: 204.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.236e-06/10.02, allocations: 3.312 kB / 4.13 GB, free: 204.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002146/10.02, allocations: 1.014 MB / 4.131 GB, free: 204 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/10.02, allocations: 63.14 kB / 4.131 GB, free: 203.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/10.02, allocations: 0.699 MB / 4.132 GB, free: 203.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/10.02, allocations: 45.45 kB / 4.132 GB, free: 203.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/10.02, allocations: 448 kB / 4.132 GB, free: 203.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/10.02, allocations: 263.8 kB / 4.132 GB, free: 202.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/10.02, allocations: 15.59 kB / 4.132 GB, free: 202.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/10.02, allocations: 329.3 kB / 4.133 GB, free: 202.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/10.02, allocations: 409.3 kB / 4.133 GB, free: 202.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/10.02, allocations: 0.5496 MB / 4.134 GB, free: 202 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/10.02, allocations: 467 kB / 4.134 GB, free: 201.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/10.02, allocations: 0 / 4.134 GB, free: 201.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001804/10.02, allocations: 1.094 MB / 4.135 GB, free: 201.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/10.02, allocations: 490.9 kB / 4.136 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/10.02, allocations: 0 / 4.136 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/10.02, allocations: 5.812 kB / 4.136 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/10.03, allocations: 278.5 kB / 4.136 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005521/10.03, allocations: 1.188 MB / 4.137 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/10.03, allocations: 208.8 kB / 4.137 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/10.03, allocations: 41.19 kB / 4.137 GB, free: 199.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/10.03, allocations: 3.719 kB / 4.137 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/10.03, allocations: 0.9962 MB / 4.138 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/10.03, allocations: 0 / 4.138 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/10.03, allocations: 7.156 kB / 4.138 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/10.03, allocations: 259.8 kB / 4.138 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/10.03, allocations: 7.828 kB / 4.138 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/10.03, allocations: 199.8 kB / 4.139 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/10.03, allocations: 43.81 kB / 4.139 GB, free: 198.7 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.0002881/10.03, allocations: 145.9 kB / 4.139 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/10.03, allocations: 104.7 kB / 4.139 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/10.04, allocations: 1.108 MB / 4.14 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/10.04, allocations: 9.188 kB / 4.14 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/10.04, allocations: 3.906 kB / 4.14 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/10.04, allocations: 7.938 kB / 4.14 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/10.04, allocations: 2.609 MB / 4.143 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/10.04, allocations: 3 kB / 4.143 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/10.04, allocations: 266.6 kB / 4.143 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/10.04, allocations: 10.89 kB / 4.143 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/10.04, allocations: 25.91 kB / 4.143 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004308/10.04, allocations: 1.188 MB / 4.144 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/10.04, allocations: 7.781 kB / 4.144 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/10.04, allocations: 1.397 MB / 4.145 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/10.04, allocations: 316.4 kB / 4.146 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/10.04, allocations: 18.81 kB / 4.146 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/10.05, allocations: 173.2 kB / 4.146 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/10.05, allocations: 58.42 kB / 4.146 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/10.05, allocations: 42.64 kB / 4.146 GB, free: 193.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009007/10.05, allocations: 0.5561 MB / 4.147 GB, free: 193.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/10.05, allocations: 0 / 4.147 GB, free: 193.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002899/10.05, allocations: 0.7663 MB / 4.147 GB, free: 192.3 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.006193/10.06, allocations: 5.218 MB / 4.152 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003237/10.06, allocations: 1.677 MB / 4.154 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/10.06, allocations: 0 / 4.154 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/10.06, allocations: 0.544 MB / 4.155 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/10.06, allocations: 0.5002 MB / 4.155 GB, free: 184.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/10.08, allocations: 2.614 MB / 4.158 GB, free: 182 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/10.08, allocations: 1.112 MB / 4.159 GB, free: 180.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002596/10.08, allocations: 486.7 kB / 4.159 GB, free: 180.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/10.08, allocations: 387.2 kB / 4.16 GB, free: 180.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/10.08, allocations: 0 / 4.16 GB, free: 180.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/10.18, allocations: 69.97 MB / 4.228 GB, free: 111.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/10.18, allocations: 237.2 kB / 4.228 GB, free: 110.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.45/14.63, allocations: 5.75 kB / 4.228 GB, free: 110.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat