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.6791/0.6791, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 184 kB / 187.3 MB, free: 11.88 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.209/1.209, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0007881/0.0007881, allocations: 95.45 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 278.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.725e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.725/4.07, allocations: 1.856 GB / 2.62 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/4.07, allocations: 91.44 kB / 2.621 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.353/7.423, allocations: 1.01 GB / 3.631 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/7.423, allocations: 0 / 3.631 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.543e-05/7.423, allocations: 35.58 kB / 3.631 GB, free: 108.4 MB / 0.7292 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.004732/7.428, allocations: 1.783 MB / 3.632 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/7.428, allocations: 7.719 kB / 3.632 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/7.428, allocations: 140.6 kB / 3.632 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/7.431, allocations: 0.5437 MB / 3.633 GB, free: 107.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/7.433, allocations: 1.076 MB / 3.634 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005625/7.434, allocations: 195.9 kB / 3.634 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/7.434, allocations: 80.66 kB / 3.634 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/7.436, allocations: 1.147 MB / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/7.436, allocations: 0 / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/7.436, allocations: 35.64 kB / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/7.436, allocations: 42.72 kB / 3.635 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/7.437, allocations: 1.11 MB / 3.637 GB, free: 107.4 MB / 0.7292 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.005552/7.443, allocations: 4.205 MB / 3.641 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/7.444, allocations: 0.7634 MB / 3.641 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/7.445, allocations: 0.5104 MB / 3.642 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/7.445, allocations: 0.6108 MB / 3.643 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/7.445, allocations: 45.09 kB / 3.643 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.477e-06/7.445, allocations: 0 / 3.643 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001838/7.447, allocations: 1.024 MB / 3.644 GB, free: 105.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/7.447, allocations: 58.59 kB / 3.644 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/7.448, allocations: 0.7 MB / 3.644 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/7.448, allocations: 44.2 kB / 3.644 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/7.448, allocations: 452 kB / 3.645 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/7.449, allocations: 256.9 kB / 3.645 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/7.449, allocations: 14.69 kB / 3.645 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/7.449, allocations: 334.7 kB / 3.645 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/7.449, allocations: 406.4 kB / 3.646 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/7.45, allocations: 0.5416 MB / 3.646 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/7.451, allocations: 473.8 kB / 3.647 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.451, allocations: 0 / 3.647 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001515/7.452, allocations: 1.094 MB / 3.648 GB, free: 104 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/7.452, allocations: 486.8 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/7.452, allocations: 0 / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/7.452, allocations: 7.438 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/7.454, allocations: 280.8 kB / 3.649 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/7.454, allocations: 1.194 MB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/7.455, allocations: 201.1 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/7.456, allocations: 43.69 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/7.456, allocations: 3.875 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/7.457, allocations: 0.9884 MB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/7.457, allocations: 2.125 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/7.457, allocations: 3.625 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/7.458, allocations: 266 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/7.458, allocations: 4.719 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/7.459, allocations: 200.5 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/7.459, allocations: 39.95 kB / 3.651 GB, free: 102.3 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 () * 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.0002144/7.46, allocations: 146.2 kB / 3.652 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/7.46, allocations: 101.8 kB / 3.652 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/7.462, allocations: 1.119 MB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/7.462, allocations: 10.91 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/7.462, allocations: 4.453 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/7.462, allocations: 4.188 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/7.466, allocations: 2.607 MB / 3.655 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/7.466, allocations: 3.969 kB / 3.655 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/7.467, allocations: 262.4 kB / 3.656 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/7.467, allocations: 10.19 kB / 3.656 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/7.467, allocations: 27.14 kB / 3.656 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003478/7.467, allocations: 1.193 MB / 3.657 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/7.467, allocations: 10.7 kB / 3.657 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/7.469, allocations: 1.384 MB / 3.658 GB, free: 99.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/7.469, allocations: 320.9 kB / 3.658 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/7.47, allocations: 18.22 kB / 3.658 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/7.471, allocations: 170.6 kB / 3.659 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/7.471, allocations: 61.64 kB / 3.659 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/7.471, allocations: 39.97 kB / 3.659 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006599/7.472, allocations: 0.5498 MB / 3.659 GB, free: 99.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/7.472, allocations: 3.281 kB / 3.659 GB, free: 99.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002317/7.474, allocations: 0.7625 MB / 3.66 GB, free: 99.55 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 () * 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.005171/7.479, allocations: 5.23 MB / 3.665 GB, free: 96.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002675/7.482, allocations: 1.678 MB / 3.667 GB, free: 96.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/7.482, allocations: 3.281 kB / 3.667 GB, free: 96.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/7.483, allocations: 0.5401 MB / 3.667 GB, free: 96.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/7.485, allocations: 0.4993 MB / 3.668 GB, free: 96.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/7.499, allocations: 2.61 MB / 3.67 GB, free: 96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/7.5, allocations: 1.117 MB / 3.671 GB, free: 95.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002459/7.502, allocations: 488.7 kB / 3.672 GB, free: 95.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/7.503, allocations: 381.7 kB / 3.672 GB, free: 95.27 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/7.503, allocations: 0 / 3.672 GB, free: 95.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09694/7.6, allocations: 70 MB / 3.741 GB, free: 93.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/7.6, allocations: 251.6 kB / 3.741 GB, free: 92.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/11.62, allocations: 0 / 3.741 GB, free: 92.73 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)