Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 195 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 0.6366 GB, free: 9.566 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009471, allocations: 90.25 kB / 0.7509 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 8 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.929/7.265, allocations: 2.326 GB / 3.314 GB, free: 218.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/7.265, allocations: 86.83 kB / 3.314 GB, free: 218.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.779/10.04, allocations: 0.7882 GB / 4.102 GB, free: 124.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/10.04, allocations: 4 kB / 4.102 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001082/10.04, allocations: 25.75 kB / 4.102 GB, free: 124.8 MB / 0.948 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.005144/10.05, allocations: 1.722 MB / 4.104 GB, free: 123.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.05, allocations: 10.59 kB / 4.104 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/10.05, allocations: 111.6 kB / 4.104 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/10.05, allocations: 437.1 kB / 4.105 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/10.05, allocations: 1.039 MB / 4.106 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/10.05, allocations: 188.4 kB / 4.106 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/10.05, allocations: 73.53 kB / 4.106 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/10.06, allocations: 1.124 MB / 4.107 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/10.06, allocations: 0 / 4.107 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/10.06, allocations: 26.81 kB / 4.107 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/10.06, allocations: 38.56 kB / 4.107 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/10.06, allocations: 1.235 MB / 4.108 GB, free: 122 MB / 0.948 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.006411/10.07, allocations: 4.161 MB / 4.112 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/10.07, allocations: 0.9282 MB / 4.113 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/10.07, allocations: 0.6319 MB / 4.114 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/10.07, allocations: 0.6308 MB / 4.114 GB, free: 118.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/10.07, allocations: 0 / 4.114 GB, free: 118.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.004082/10.08, allocations: 1.499 MB / 4.116 GB, free: 117.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/10.08, allocations: 89.36 kB / 4.116 GB, free: 117.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/10.08, allocations: 0.7272 MB / 4.117 GB, free: 117.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/10.08, allocations: 48.8 kB / 4.117 GB, free: 117.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/10.08, allocations: 426.3 kB / 4.117 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/10.08, allocations: 194.9 kB / 4.117 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/10.08, allocations: 11.84 kB / 4.117 GB, free: 116.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/10.08, allocations: 332.8 kB / 4.118 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/10.08, allocations: 447.8 kB / 4.118 GB, free: 116.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/10.08, allocations: 0.5948 MB / 4.119 GB, free: 116 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/10.08, allocations: 496.2 kB / 4.119 GB, free: 115.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/10.08, allocations: 3.219 kB / 4.119 GB, free: 115.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00311/10.08, allocations: 1.147 MB / 4.12 GB, free: 115.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/10.08, allocations: 0.7325 MB / 4.121 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/10.08, allocations: 3.984 kB / 4.121 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/10.08, allocations: 11.64 kB / 4.121 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/10.09, allocations: 230.9 kB / 4.121 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007066/10.09, allocations: 1.192 MB / 4.122 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/10.09, allocations: 192.7 kB / 4.122 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/10.09, allocations: 37.16 kB / 4.123 GB, free: 113.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/10.09, allocations: 7.703 kB / 4.123 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002636/10.09, allocations: 1.042 MB / 4.124 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/10.09, allocations: 3.969 kB / 4.124 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/10.09, allocations: 3.781 kB / 4.124 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/10.09, allocations: 224.3 kB / 4.124 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/10.09, allocations: 6.938 kB / 4.124 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/10.09, allocations: 191.8 kB / 4.124 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/10.09, allocations: 31.77 kB / 4.124 GB, free: 112.5 MB / 0.948 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.0008013/10.09, allocations: 341.3 kB / 4.124 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/10.09, allocations: 104.5 kB / 4.124 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/10.1, allocations: 1.199 MB / 4.126 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/10.1, allocations: 3.5 kB / 4.126 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/10.1, allocations: 0 / 4.126 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/10.1, allocations: 3.984 kB / 4.126 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/10.1, allocations: 2.373 MB / 4.128 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/10.1, allocations: 3.719 kB / 4.128 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/10.1, allocations: 221.4 kB / 4.128 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/10.1, allocations: 7.594 kB / 4.128 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/10.1, allocations: 19.58 kB / 4.128 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/10.1, allocations: 1.201 MB / 4.129 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/10.1, allocations: 7.219 kB / 4.129 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/10.11, allocations: 1.41 MB / 4.131 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/10.11, allocations: 291.6 kB / 4.131 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/10.11, allocations: 15.75 kB / 4.131 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/10.11, allocations: 164.9 kB / 4.131 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/10.11, allocations: 61.98 kB / 4.131 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/10.11, allocations: 27.27 kB / 4.131 GB, free: 107.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008046/10.11, allocations: 0.5745 MB / 4.132 GB, free: 107 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/10.11, allocations: 0 / 4.132 GB, free: 107 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002187/10.11, allocations: 0.6355 MB / 4.132 GB, free: 106.9 MB / 0.948 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.005802/10.12, allocations: 4.3 MB / 4.137 GB, free: 103.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004329/10.12, allocations: 1.706 MB / 4.138 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/10.12, allocations: 0 / 4.138 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/10.12, allocations: 0.5989 MB / 4.139 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/10.13, allocations: 451.9 kB / 4.139 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/10.13, allocations: 3.831 MB / 4.143 GB, free: 99.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/10.13, allocations: 1.064 MB / 4.144 GB, free: 98.46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001431/10.13, allocations: 288.3 kB / 4.144 GB, free: 98.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/10.13, allocations: 363.3 kB / 4.145 GB, free: 98.03 MB / 0.948 GB Notification: Performance of SimCode: time 9.909e-06/10.13, allocations: 0 / 4.145 GB, free: 98.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07691/10.21, allocations: 49.54 MB / 4.193 GB, free: 48.92 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/10.21, allocations: 267 kB / 4.193 GB, free: 48.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.041/14.25, allocations: 0 / 4.193 GB, free: 48.56 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)