Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.7984/0.7984, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001256/0.001256, allocations: 181 kB / 191.5 MB, free: 5.785 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.479/1.479, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001022/0.001022, allocations: 96.25 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 284.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 17.78 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1687, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.071/5.24, allocations: 2.126 GB / 2.9 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/5.24, allocations: 87.64 kB / 2.9 GB, free: 244.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/8.282, allocations: 0.7977 GB / 3.698 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/8.282, allocations: 0 / 3.698 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001456/8.282, allocations: 32.5 kB / 3.698 GB, free: 98.44 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.007506/8.289, allocations: 1.745 MB / 3.699 GB, free: 97.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/8.29, allocations: 10.88 kB / 3.699 GB, free: 97.93 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003348/8.29, allocations: 112.5 kB / 3.699 GB, free: 97.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/8.293, allocations: 442.3 kB / 3.7 GB, free: 97.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/8.297, allocations: 1.053 MB / 3.701 GB, free: 97.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/8.298, allocations: 187.3 kB / 3.701 GB, free: 97.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/8.299, allocations: 70.59 kB / 3.701 GB, free: 97.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/8.303, allocations: 1.127 MB / 3.702 GB, free: 97.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/8.303, allocations: 2.891 kB / 3.702 GB, free: 97.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/8.303, allocations: 29.19 kB / 3.702 GB, free: 97.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/8.303, allocations: 37.45 kB / 3.702 GB, free: 97.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005222/8.308, allocations: 1.209 MB / 3.704 GB, free: 97.44 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.01205/8.32, allocations: 4.239 MB / 3.708 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/8.325, allocations: 0.94 MB / 3.709 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009814/8.326, allocations: 0.6374 MB / 3.709 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/8.328, allocations: 0.6417 MB / 3.71 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 4.959e-06/8.328, allocations: 0 / 3.71 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.00728/8.335, allocations: 1.546 MB / 3.711 GB, free: 94.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/8.336, allocations: 83.67 kB / 3.711 GB, free: 94.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/8.338, allocations: 0.7376 MB / 3.712 GB, free: 94.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/8.339, allocations: 40.7 kB / 3.712 GB, free: 94.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/8.339, allocations: 424.4 kB / 3.713 GB, free: 94.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/8.34, allocations: 194.8 kB / 3.713 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/8.34, allocations: 14.91 kB / 3.713 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/8.34, allocations: 329.7 kB / 3.713 GB, free: 94.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/8.341, allocations: 461.6 kB / 3.714 GB, free: 94.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/8.344, allocations: 0.6017 MB / 3.714 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/8.346, allocations: 0.4967 MB / 3.715 GB, free: 93.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/8.346, allocations: 0 / 3.715 GB, free: 93.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004428/8.35, allocations: 1.171 MB / 3.716 GB, free: 93.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002699/8.351, allocations: 0.7392 MB / 3.716 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/8.351, allocations: 3.406 kB / 3.716 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/8.351, allocations: 3.906 kB / 3.716 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/8.353, allocations: 247.7 kB / 3.717 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/8.354, allocations: 1.197 MB / 3.718 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/8.356, allocations: 195.9 kB / 3.718 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/8.357, allocations: 31.84 kB / 3.718 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/8.357, allocations: 3.25 kB / 3.718 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004647/8.361, allocations: 1.074 MB / 3.719 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/8.361, allocations: 3.281 kB / 3.719 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/8.361, allocations: 3.906 kB / 3.719 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/8.363, allocations: 223.6 kB / 3.719 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/8.363, allocations: 9.531 kB / 3.719 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/8.365, allocations: 192.6 kB / 3.72 GB, free: 91.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/8.366, allocations: 32.41 kB / 3.72 GB, free: 91.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.001088/8.367, allocations: 352.7 kB / 3.72 GB, free: 91.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/8.367, allocations: 95.38 kB / 3.72 GB, free: 91.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/8.371, allocations: 1.231 MB / 3.721 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/8.371, allocations: 10.27 kB / 3.721 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/8.371, allocations: 1.719 kB / 3.721 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/8.371, allocations: 3.844 kB / 3.721 GB, free: 91.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/8.376, allocations: 2.401 MB / 3.724 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/8.376, allocations: 10.62 kB / 3.724 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/8.378, allocations: 227.4 kB / 3.724 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/8.378, allocations: 10.36 kB / 3.724 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/8.378, allocations: 23.78 kB / 3.724 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/8.378, allocations: 1.184 MB / 3.725 GB, free: 89.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/8.378, allocations: 12.47 kB / 3.725 GB, free: 89.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/8.381, allocations: 1.442 MB / 3.726 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/8.382, allocations: 292.7 kB / 3.727 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/8.383, allocations: 13.41 kB / 3.727 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/8.384, allocations: 171.7 kB / 3.727 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/8.384, allocations: 60.73 kB / 3.727 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-05/8.384, allocations: 35.25 kB / 3.727 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001096/8.385, allocations: 0.5718 MB / 3.728 GB, free: 89.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/8.385, allocations: 3.938 kB / 3.728 GB, free: 89.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002964/8.388, allocations: 0.6317 MB / 3.728 GB, free: 89.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.007488/8.396, allocations: 4.326 MB / 3.732 GB, free: 87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005226/8.401, allocations: 1.757 MB / 3.734 GB, free: 86.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/8.401, allocations: 0 / 3.734 GB, free: 86.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/8.403, allocations: 0.6062 MB / 3.735 GB, free: 86.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/8.405, allocations: 450.7 kB / 3.735 GB, free: 86.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/8.412, allocations: 3.861 MB / 3.739 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/8.413, allocations: 1.067 MB / 3.74 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001616/8.414, allocations: 298 kB / 3.74 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/8.415, allocations: 359.8 kB / 3.741 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of SimCode: time 7.554e-06/8.415, allocations: 0 / 3.741 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08566/8.501, allocations: 49.78 MB / 3.789 GB, free: 82.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/8.501, allocations: 269.5 kB / 3.789 GB, free: 81.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/12.39, allocations: 3.5 kB / 3.789 GB, free: 81.84 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)