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.001814/0.001814, allocations: 182.4 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5491/0.5491, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 100.3 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 19.98 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 72.3 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.545/4.69, allocations: 2.119 GB / 2.688 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/4.69, allocations: 87.95 kB / 2.688 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366/8.056, allocations: 0.7963 GB / 3.484 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.067e-06/8.056, allocations: 3.328 kB / 3.484 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001764/8.056, allocations: 32.73 kB / 3.484 GB, free: 82.91 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.006837/8.063, allocations: 1.74 MB / 3.486 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/8.063, allocations: 13.78 kB / 3.486 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004571/8.063, allocations: 112.9 kB / 3.486 GB, free: 82.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/8.066, allocations: 440 kB / 3.487 GB, free: 82.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/8.069, allocations: 1.05 MB / 3.488 GB, free: 81.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006302/8.07, allocations: 192.4 kB / 3.488 GB, free: 81.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/8.07, allocations: 70.41 kB / 3.488 GB, free: 81.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/8.073, allocations: 1.124 MB / 3.489 GB, free: 81.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/8.073, allocations: 3.938 kB / 3.489 GB, free: 81.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/8.074, allocations: 30.72 kB / 3.489 GB, free: 81.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/8.074, allocations: 37.22 kB / 3.489 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/8.077, allocations: 1.202 MB / 3.49 GB, free: 81.62 MB / 0.6198 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.008607/8.085, allocations: 4.245 MB / 3.494 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/8.088, allocations: 0.9382 MB / 3.495 GB, free: 79.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/8.089, allocations: 0.641 MB / 3.496 GB, free: 79.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/8.09, allocations: 0.6387 MB / 3.497 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.496e-06/8.091, allocations: 0 / 3.497 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.004695/8.095, allocations: 1.541 MB / 3.498 GB, free: 78.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/8.095, allocations: 86.95 kB / 3.498 GB, free: 78.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/8.097, allocations: 0.735 MB / 3.499 GB, free: 78.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/8.097, allocations: 39.27 kB / 3.499 GB, free: 78.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/8.097, allocations: 433 kB / 3.499 GB, free: 78.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/8.098, allocations: 194.8 kB / 3.5 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/8.098, allocations: 6.5 kB / 3.5 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/8.098, allocations: 338.8 kB / 3.5 GB, free: 78.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/8.099, allocations: 457.4 kB / 3.5 GB, free: 78.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/8.1, allocations: 0.6011 MB / 3.501 GB, free: 77.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/8.102, allocations: 0.4938 MB / 3.501 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/8.102, allocations: 1.875 kB / 3.501 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003145/8.105, allocations: 1.171 MB / 3.503 GB, free: 77.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003019/8.105, allocations: 0.7307 MB / 3.503 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/8.105, allocations: 3.969 kB / 3.503 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/8.105, allocations: 6.219 kB / 3.503 GB, free: 77.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/8.107, allocations: 246 kB / 3.503 GB, free: 77.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007298/8.107, allocations: 1.194 MB / 3.505 GB, free: 75.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/8.109, allocations: 197.7 kB / 3.505 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/8.109, allocations: 33.41 kB / 3.505 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/8.109, allocations: 6.5 kB / 3.505 GB, free: 75.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002806/8.112, allocations: 1.073 MB / 3.506 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/8.112, allocations: 0 / 3.506 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/8.112, allocations: 7.344 kB / 3.506 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/8.113, allocations: 228 kB / 3.506 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/8.113, allocations: 6.375 kB / 3.506 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/8.115, allocations: 193.1 kB / 3.506 GB, free: 75.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/8.115, allocations: 30.02 kB / 3.506 GB, free: 75.79 MB / 0.6198 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.0008146/8.116, allocations: 344.3 kB / 3.507 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/8.116, allocations: 104.4 kB / 3.507 GB, free: 75.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/8.12, allocations: 1.231 MB / 3.508 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/8.12, allocations: 7.281 kB / 3.508 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/8.12, allocations: 0 / 3.508 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/8.12, allocations: 3.609 kB / 3.508 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/8.125, allocations: 2.419 MB / 3.51 GB, free: 75.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/8.125, allocations: 2.438 kB / 3.51 GB, free: 75.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/8.127, allocations: 220 kB / 3.511 GB, free: 75.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/8.127, allocations: 9.547 kB / 3.511 GB, free: 75.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.435e-05/8.127, allocations: 28.8 kB / 3.511 GB, free: 75.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005645/8.127, allocations: 1.186 MB / 3.512 GB, free: 73.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/8.127, allocations: 6.906 kB / 3.512 GB, free: 73.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/8.131, allocations: 1.44 MB / 3.513 GB, free: 73.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/8.131, allocations: 293.5 kB / 3.513 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/8.132, allocations: 13.91 kB / 3.513 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/8.133, allocations: 166.8 kB / 3.514 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/8.133, allocations: 61.64 kB / 3.514 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/8.133, allocations: 29.41 kB / 3.514 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001095/8.135, allocations: 0.5767 MB / 3.514 GB, free: 73.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/8.135, allocations: 0 / 3.514 GB, free: 73.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00285/8.137, allocations: 0.6388 MB / 3.515 GB, free: 73.1 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) * 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.00725/8.145, allocations: 4.326 MB / 3.519 GB, free: 70.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004827/8.15, allocations: 1.747 MB / 3.521 GB, free: 70.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/8.15, allocations: 4.062 kB / 3.521 GB, free: 70.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/8.151, allocations: 0.6024 MB / 3.521 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/8.154, allocations: 454.2 kB / 3.522 GB, free: 70.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/8.162, allocations: 3.859 MB / 3.526 GB, free: 68.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/8.163, allocations: 1.066 MB / 3.527 GB, free: 67.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001564/8.164, allocations: 304.6 kB / 3.527 GB, free: 67.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/8.165, allocations: 358.6 kB / 3.527 GB, free: 67.41 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/8.165, allocations: 0 / 3.527 GB, free: 67.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08989/8.255, allocations: 49.72 MB / 3.576 GB, free: 42.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/8.255, allocations: 258.6 kB / 3.576 GB, free: 42.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/12.09, allocations: 0 / 3.576 GB, free: 42.03 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)