Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4969/0.4969, allocations: 90.91 MB / 99.34 MB, free: 2.242 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 343.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 88.7 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.991e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1519, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.152, allocations: 2.118 GB / 2.672 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/5.153, allocations: 87.94 kB / 2.672 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.051/8.203, allocations: 0.7879 GB / 3.46 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/8.203, allocations: 0 / 3.46 GB, free: 83.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000152/8.203, allocations: 28.47 kB / 3.46 GB, free: 83.99 MB / 0.6198 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.005096/8.209, allocations: 1.572 MB / 3.462 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/8.209, allocations: 7.281 kB / 3.462 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/8.211, allocations: 441.5 kB / 3.462 GB, free: 83.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/8.214, allocations: 1.031 MB / 3.463 GB, free: 83.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006176/8.215, allocations: 168.6 kB / 3.463 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/8.215, allocations: 46.55 kB / 3.463 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/8.216, allocations: 0.7383 MB / 3.464 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/8.218, allocations: 0.8328 MB / 3.465 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/8.218, allocations: 0 / 3.465 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/8.218, allocations: 0 / 3.465 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/8.218, allocations: 38.92 kB / 3.465 GB, free: 82.92 MB / 0.6198 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.006816/8.225, allocations: 4.059 MB / 3.469 GB, free: 81.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/8.226, allocations: 0.5218 MB / 3.469 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/8.226, allocations: 330 kB / 3.47 GB, free: 81.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/8.227, allocations: 0.6402 MB / 3.47 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/8.227, allocations: 441.3 kB / 3.471 GB, free: 80.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/8.227, allocations: 0 / 3.471 GB, free: 80.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001649/8.229, allocations: 0.7142 MB / 3.471 GB, free: 80.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/8.229, allocations: 89.75 kB / 3.471 GB, free: 80.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/8.23, allocations: 0.564 MB / 3.472 GB, free: 80.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/8.23, allocations: 25.7 kB / 3.472 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/8.23, allocations: 442.5 kB / 3.472 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/8.23, allocations: 189.7 kB / 3.473 GB, free: 79.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/8.23, allocations: 0 / 3.473 GB, free: 79.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/8.23, allocations: 329 kB / 3.473 GB, free: 79.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/8.231, allocations: 260.1 kB / 3.473 GB, free: 79.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/8.231, allocations: 411.8 kB / 3.474 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/8.232, allocations: 317.8 kB / 3.474 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/8.232, allocations: 3.797 kB / 3.474 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001264/8.233, allocations: 0.7595 MB / 3.475 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/8.233, allocations: 0.9082 MB / 3.475 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/8.233, allocations: 3.562 kB / 3.475 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/8.233, allocations: 6.75 kB / 3.475 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/8.235, allocations: 242.8 kB / 3.476 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/8.235, allocations: 1.207 MB / 3.477 GB, free: 77.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/8.236, allocations: 170 kB / 3.477 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/8.236, allocations: 31.59 kB / 3.477 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/8.236, allocations: 2.938 kB / 3.477 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/8.238, allocations: 0.6503 MB / 3.478 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/8.238, allocations: 6.828 kB / 3.478 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/8.238, allocations: 3.969 kB / 3.478 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/8.239, allocations: 226.2 kB / 3.478 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/8.239, allocations: 7.625 kB / 3.478 GB, free: 77.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/8.24, allocations: 161.1 kB / 3.478 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/8.24, allocations: 34.98 kB / 3.478 GB, free: 77.16 MB / 0.6198 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.0002114/8.24, allocations: 126.1 kB / 3.478 GB, free: 77.05 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00117/8.241, allocations: 0.684 MB / 3.479 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/8.241, allocations: 94.72 kB / 3.479 GB, free: 76.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/8.243, allocations: 0.8195 MB / 3.48 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/8.243, allocations: 7.344 kB / 3.48 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/8.243, allocations: 0 / 3.48 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/8.243, allocations: 3.656 kB / 3.48 GB, free: 76.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/8.246, allocations: 1.916 MB / 3.482 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/8.246, allocations: 3.781 kB / 3.482 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/8.247, allocations: 223.5 kB / 3.482 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/8.247, allocations: 10.36 kB / 3.482 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/8.247, allocations: 16.03 kB / 3.482 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003846/8.247, allocations: 1.204 MB / 3.483 GB, free: 75.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/8.247, allocations: 3.281 kB / 3.483 GB, free: 75.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/8.249, allocations: 1.038 MB / 3.484 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/8.249, allocations: 277.5 kB / 3.484 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/8.249, allocations: 7.281 kB / 3.484 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/8.25, allocations: 158.7 kB / 3.485 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/8.25, allocations: 63 kB / 3.485 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/8.251, allocations: 33.23 kB / 3.485 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005114/8.251, allocations: 446.1 kB / 3.485 GB, free: 74.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/8.251, allocations: 0 / 3.485 GB, free: 74.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001677/8.253, allocations: 0.5918 MB / 3.486 GB, free: 74.55 MB / 0.6198 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.003827/8.257, allocations: 4.098 MB / 3.49 GB, free: 72.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001907/8.258, allocations: 1.162 MB / 3.491 GB, free: 72.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/8.259, allocations: 3.391 kB / 3.491 GB, free: 72.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/8.259, allocations: 405.1 kB / 3.491 GB, free: 72.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/8.261, allocations: 342.3 kB / 3.491 GB, free: 72.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/8.264, allocations: 1.504 MB / 3.493 GB, free: 71.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/8.265, allocations: 1.062 MB / 3.494 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001479/8.266, allocations: 317.1 kB / 3.494 GB, free: 71.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/8.267, allocations: 346.7 kB / 3.495 GB, free: 71.04 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/8.267, allocations: 1.875 kB / 3.495 GB, free: 71.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/8.335, allocations: 35.39 MB / 3.529 GB, free: 69.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/8.335, allocations: 181.5 kB / 3.529 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/11.51, allocations: 2.5 kB / 3.529 GB, free: 69.08 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)