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.9012/0.9012, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.0009844/0.0009844, allocations: 180.8 kB / 182.2 MB, free: 9.441 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.601/1.601, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008883/0.0008881, allocations: 99.83 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 271.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.975e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.545, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.117/6.662, allocations: 2.125 GB / 2.883 GB, free: 217.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/6.662, allocations: 83.09 kB / 2.883 GB, free: 217.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/9.83, allocations: 0.7893 GB / 3.672 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.604e-06/9.83, allocations: 0 / 3.672 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001148/9.83, allocations: 33.52 kB / 3.672 GB, free: 111.2 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.004825/9.835, allocations: 1.567 MB / 3.674 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/9.835, allocations: 8.656 kB / 3.674 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/9.838, allocations: 445.8 kB / 3.674 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/9.84, allocations: 1.037 MB / 3.675 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/9.841, allocations: 163.8 kB / 3.675 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/9.841, allocations: 43.81 kB / 3.675 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/9.842, allocations: 0.7349 MB / 3.676 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/9.844, allocations: 0.8302 MB / 3.677 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/9.844, allocations: 1.531 kB / 3.677 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/9.844, allocations: 1.688 kB / 3.677 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/9.844, allocations: 33.77 kB / 3.677 GB, free: 110.2 MB / 0.7136 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.00677/9.851, allocations: 4.075 MB / 3.681 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/9.851, allocations: 0.5242 MB / 3.681 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/9.852, allocations: 327.9 kB / 3.682 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/9.852, allocations: 0.6397 MB / 3.682 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006685/9.853, allocations: 440.2 kB / 3.683 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.255e-06/9.853, allocations: 0 / 3.683 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.00178/9.855, allocations: 0.7108 MB / 3.683 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/9.855, allocations: 88.97 kB / 3.684 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/9.856, allocations: 0.5685 MB / 3.684 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/9.856, allocations: 28.39 kB / 3.684 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/9.856, allocations: 440.7 kB / 3.685 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/9.856, allocations: 187.5 kB / 3.685 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/9.857, allocations: 0 / 3.685 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001012/9.857, allocations: 327.2 kB / 3.685 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/9.857, allocations: 261.4 kB / 3.685 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/9.858, allocations: 415.8 kB / 3.686 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/9.858, allocations: 319.8 kB / 3.686 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/9.858, allocations: 0 / 3.686 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001403/9.86, allocations: 0.7602 MB / 3.687 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/9.86, allocations: 0.9053 MB / 3.688 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/9.86, allocations: 3.938 kB / 3.688 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/9.86, allocations: 2.844 kB / 3.688 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/9.861, allocations: 249.9 kB / 3.688 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005616/9.862, allocations: 1.207 MB / 3.689 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/9.863, allocations: 174 kB / 3.689 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/9.863, allocations: 33.12 kB / 3.689 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/9.863, allocations: 3.781 kB / 3.689 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/9.865, allocations: 0.6532 MB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/9.865, allocations: 3.438 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/9.865, allocations: 7.875 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/9.866, allocations: 221 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/9.866, allocations: 9.359 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/9.867, allocations: 169.3 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/9.867, allocations: 32.39 kB / 3.69 GB, free: 104.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * 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.0002659/9.867, allocations: 123.8 kB / 3.69 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001395/9.869, allocations: 0.6874 MB / 3.691 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/9.869, allocations: 89.83 kB / 3.691 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/9.871, allocations: 0.8296 MB / 3.692 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/9.871, allocations: 7.062 kB / 3.692 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/9.871, allocations: 0 / 3.692 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/9.871, allocations: 6.438 kB / 3.692 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/9.874, allocations: 1.909 MB / 3.694 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/9.874, allocations: 0 / 3.694 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/9.875, allocations: 228.2 kB / 3.694 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/9.875, allocations: 6.594 kB / 3.694 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/9.875, allocations: 16.12 kB / 3.694 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000483/9.876, allocations: 1.197 MB / 3.695 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/9.876, allocations: 3.375 kB / 3.695 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/9.877, allocations: 1.045 MB / 3.696 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/9.878, allocations: 286.1 kB / 3.697 GB, free: 102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/9.878, allocations: 5.469 kB / 3.697 GB, free: 102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/9.879, allocations: 156.9 kB / 3.697 GB, free: 102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/9.879, allocations: 57.84 kB / 3.697 GB, free: 102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/9.88, allocations: 36.23 kB / 3.697 GB, free: 102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006349/9.88, allocations: 445 kB / 3.697 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/9.88, allocations: 0 / 3.697 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002246/9.882, allocations: 0.5882 MB / 3.698 GB, free: 101.8 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) * 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.004605/9.887, allocations: 4.109 MB / 3.702 GB, free: 99.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002208/9.889, allocations: 1.154 MB / 3.703 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/9.889, allocations: 0 / 3.703 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/9.89, allocations: 403 kB / 3.703 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/9.892, allocations: 353.5 kB / 3.704 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/9.896, allocations: 1.495 MB / 3.705 GB, free: 99.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/9.896, allocations: 1.064 MB / 3.706 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001633/9.898, allocations: 318.8 kB / 3.706 GB, free: 98.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/9.898, allocations: 345.1 kB / 3.707 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/9.898, allocations: 0 / 3.707 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/9.968, allocations: 35.44 MB / 3.741 GB, free: 97.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/9.968, allocations: 203.9 kB / 3.742 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/13.18, allocations: 4 kB / 3.742 GB, free: 97.04 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)