Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 175.3 kB / 191.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.1 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 88.33 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 271.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004451, allocations: 15.28 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.122/5.335, allocations: 1.856 GB / 2.63 GB, free: 221 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.336, allocations: 90.14 kB / 2.63 GB, free: 220.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.556/8.892, allocations: 1.011 GB / 3.641 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/8.892, allocations: 0 / 3.641 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001735/8.892, allocations: 31.98 kB / 3.641 GB, free: 16.11 MB / 0.7136 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.008427/8.901, allocations: 1.966 MB / 3.643 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/8.901, allocations: 8.031 kB / 3.643 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004804/8.901, allocations: 135.1 kB / 3.643 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/8.905, allocations: 0.5487 MB / 3.643 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/8.908, allocations: 1.082 MB / 3.644 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006295/8.909, allocations: 197.9 kB / 3.645 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/8.909, allocations: 80 kB / 3.645 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/8.913, allocations: 1.341 MB / 3.646 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/8.913, allocations: 0 / 3.646 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/8.913, allocations: 35.98 kB / 3.646 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/8.913, allocations: 41.98 kB / 3.646 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/8.916, allocations: 1.511 MB / 3.648 GB, free: 9.039 MB / 0.7136 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.006912/8.923, allocations: 4.196 MB / 3.652 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/8.925, allocations: 1.064 MB / 3.653 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/8.926, allocations: 0.6126 MB / 3.653 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/8.926, allocations: 43.22 kB / 3.653 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.075e-06/8.926, allocations: 3.938 kB / 3.653 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.00461/8.931, allocations: 1.992 MB / 3.655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/8.931, allocations: 64.06 kB / 3.655 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/8.932, allocations: 0.7014 MB / 3.656 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/8.932, allocations: 45.7 kB / 3.656 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/8.932, allocations: 452.5 kB / 3.657 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/8.933, allocations: 256.2 kB / 3.657 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/8.933, allocations: 16 kB / 3.657 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000135/8.933, allocations: 337.9 kB / 3.657 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/8.934, allocations: 0.5875 MB / 3.658 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/8.936, allocations: 0.7451 MB / 3.658 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/8.938, allocations: 0.6372 MB / 3.659 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.938, allocations: 4 kB / 3.659 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003574/8.941, allocations: 1.474 MB / 3.661 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/8.942, allocations: 489.3 kB / 3.661 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/8.942, allocations: 0 / 3.661 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/8.942, allocations: 4 kB / 3.661 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/8.943, allocations: 275.6 kB / 3.661 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008188/8.944, allocations: 1.195 MB / 3.662 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/8.946, allocations: 199.2 kB / 3.663 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/8.946, allocations: 43.97 kB / 3.663 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/8.946, allocations: 5.094 kB / 3.663 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003349/8.949, allocations: 1.372 MB / 3.664 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/8.949, allocations: 4 kB / 3.664 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/8.949, allocations: 4.094 kB / 3.664 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/8.951, allocations: 259.7 kB / 3.664 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/8.951, allocations: 4 kB / 3.664 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/8.952, allocations: 211.1 kB / 3.664 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/8.952, allocations: 43.97 kB / 3.664 GB, free: 7.117 MB / 0.7292 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.0007991/8.953, allocations: 372.9 kB / 3.665 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/8.953, allocations: 102.7 kB / 3.665 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/8.957, allocations: 1.496 MB / 3.666 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/8.957, allocations: 8 kB / 3.666 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/8.957, allocations: 4 kB / 3.666 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/8.957, allocations: 7.938 kB / 3.666 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/8.964, allocations: 2.976 MB / 3.669 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/8.964, allocations: 4 kB / 3.669 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/8.965, allocations: 260.1 kB / 3.67 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/8.965, allocations: 8 kB / 3.67 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/8.965, allocations: 35.94 kB / 3.67 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006397/8.966, allocations: 1.188 MB / 3.671 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/8.966, allocations: 11.94 kB / 3.671 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.464/9.43, allocations: 1.759 MB / 3.673 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/9.431, allocations: 320.9 kB / 3.673 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/9.431, allocations: 23.97 kB / 3.673 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/9.432, allocations: 167.4 kB / 3.673 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/9.433, allocations: 61.59 kB / 3.673 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/9.433, allocations: 39.08 kB / 3.673 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009333/9.434, allocations: 0.5611 MB / 3.674 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/9.434, allocations: 0.6562 kB / 3.674 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002578/9.436, allocations: 0.7583 MB / 3.674 GB, free: 106.7 MB / 0.7292 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.007325/9.444, allocations: 5.612 MB / 3.68 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005318/9.449, allocations: 2.212 MB / 3.682 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/9.449, allocations: 0 / 3.682 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/9.451, allocations: 0.7321 MB / 3.683 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/9.454, allocations: 0.5035 MB / 3.683 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/9.471, allocations: 4.445 MB / 3.688 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/9.471, allocations: 1.118 MB / 3.689 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002036/9.473, allocations: 411 kB / 3.689 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/9.474, allocations: 396.2 kB / 3.689 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/9.474, allocations: 0 / 3.689 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/9.575, allocations: 62.33 MB / 3.75 GB, free: 99.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/9.575, allocations: 285 kB / 3.751 GB, free: 99.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/13.72, allocations: 2.344 kB / 3.751 GB, free: 99.5 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)