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.0009929/0.0009931, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.492/0.492, allocations: 90.8 MB / 104.5 MB, free: 9.801 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.377/1.377, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009399, allocations: 94.14 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.211e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4066, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.785, allocations: 2.119 GB / 2.679 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/5.785, allocations: 82.77 kB / 2.679 GB, free: 84.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.393/9.178, allocations: 0.795 GB / 3.474 GB, free: 86.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/9.178, allocations: 3.844 kB / 3.474 GB, free: 86.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.549e-05/9.178, allocations: 33.88 kB / 3.474 GB, free: 86.33 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.005373/9.184, allocations: 1.573 MB / 3.476 GB, free: 85.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/9.184, allocations: 17.64 kB / 3.476 GB, free: 85.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/9.184, allocations: 111.7 kB / 3.476 GB, free: 85.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/9.186, allocations: 442.3 kB / 3.477 GB, free: 85.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/9.189, allocations: 1.042 MB / 3.478 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006128/9.19, allocations: 184.7 kB / 3.478 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/9.19, allocations: 70.81 kB / 3.478 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/9.192, allocations: 0.9253 MB / 3.479 GB, free: 85.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/9.192, allocations: 1.312 kB / 3.479 GB, free: 85.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/9.192, allocations: 27.75 kB / 3.479 GB, free: 85.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/9.192, allocations: 38.39 kB / 3.479 GB, free: 85.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/9.193, allocations: 0.8114 MB / 3.48 GB, free: 85.32 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.006688/9.2, allocations: 4.243 MB / 3.484 GB, free: 83.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/9.201, allocations: 0.5473 MB / 3.484 GB, free: 83.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/9.201, allocations: 341.6 kB / 3.485 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/9.202, allocations: 0.6416 MB / 3.485 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007508/9.203, allocations: 457.4 kB / 3.486 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.915e-06/9.203, allocations: 0 / 3.486 GB, free: 82.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001701/9.205, allocations: 0.7026 MB / 3.486 GB, free: 82.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/9.205, allocations: 82.73 kB / 3.486 GB, free: 82.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/9.206, allocations: 0.7233 MB / 3.487 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/9.206, allocations: 38.95 kB / 3.487 GB, free: 82.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/9.206, allocations: 434 kB / 3.488 GB, free: 82.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/9.206, allocations: 190.5 kB / 3.488 GB, free: 82.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/9.206, allocations: 12.06 kB / 3.488 GB, free: 82.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/9.207, allocations: 337.6 kB / 3.488 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/9.207, allocations: 264.3 kB / 3.488 GB, free: 81.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/9.207, allocations: 415.8 kB / 3.489 GB, free: 81.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/9.208, allocations: 306.5 kB / 3.489 GB, free: 81.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/9.208, allocations: 2.844 kB / 3.489 GB, free: 81.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001301/9.209, allocations: 0.7889 MB / 3.49 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/9.21, allocations: 0.731 MB / 3.49 GB, free: 80.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/9.21, allocations: 0 / 3.49 GB, free: 80.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/9.21, allocations: 10.77 kB / 3.49 GB, free: 80.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/9.211, allocations: 247.2 kB / 3.491 GB, free: 80.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/9.212, allocations: 1.196 MB / 3.492 GB, free: 79.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/9.213, allocations: 191.3 kB / 3.492 GB, free: 79.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/9.213, allocations: 32.56 kB / 3.492 GB, free: 79.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/9.213, allocations: 6.062 kB / 3.492 GB, free: 79.64 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/9.214, allocations: 0.6837 MB / 3.493 GB, free: 79.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/9.214, allocations: 3.953 kB / 3.493 GB, free: 79.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/9.214, allocations: 3.5 kB / 3.493 GB, free: 79.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/9.215, allocations: 231.4 kB / 3.493 GB, free: 79.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/9.215, allocations: 6.594 kB / 3.493 GB, free: 79.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/9.217, allocations: 188.7 kB / 3.493 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/9.217, allocations: 35.81 kB / 3.493 GB, free: 79.58 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 () * 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.0002413/9.217, allocations: 139.4 kB / 3.493 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/9.217, allocations: 98.44 kB / 3.493 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/9.219, allocations: 0.8504 MB / 3.494 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/9.219, allocations: 3.75 kB / 3.494 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/9.219, allocations: 7.875 kB / 3.494 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/9.219, allocations: 2.844 kB / 3.494 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/9.222, allocations: 2.027 MB / 3.496 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/9.222, allocations: 3.312 kB / 3.496 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/9.223, allocations: 221.2 kB / 3.496 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/9.223, allocations: 3.719 kB / 3.497 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/9.223, allocations: 29.23 kB / 3.497 GB, free: 78.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/9.224, allocations: 1.189 MB / 3.498 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.224, allocations: 5.125 kB / 3.498 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/9.225, allocations: 1.052 MB / 3.499 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/9.226, allocations: 303.3 kB / 3.499 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/9.226, allocations: 10.34 kB / 3.499 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/9.227, allocations: 160.1 kB / 3.499 GB, free: 77.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/9.227, allocations: 65.58 kB / 3.499 GB, free: 77.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/9.227, allocations: 33.7 kB / 3.499 GB, free: 77.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007748/9.228, allocations: 0.5686 MB / 3.5 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/9.228, allocations: 3.828 kB / 3.5 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002324/9.23, allocations: 0.6294 MB / 3.5 GB, free: 77 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.004429/9.235, allocations: 3.948 MB / 3.504 GB, free: 74.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002402/9.237, allocations: 1.205 MB / 3.505 GB, free: 74.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/9.237, allocations: 0 / 3.505 GB, free: 74.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/9.238, allocations: 420.9 kB / 3.506 GB, free: 74.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/9.241, allocations: 456.6 kB / 3.506 GB, free: 74.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/9.244, allocations: 1.571 MB / 3.508 GB, free: 74.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/9.245, allocations: 1.068 MB / 3.509 GB, free: 73.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001623/9.246, allocations: 351.2 kB / 3.509 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/9.247, allocations: 349 kB / 3.51 GB, free: 73.53 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/9.247, allocations: 2.125 kB / 3.51 GB, free: 73.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09724/9.344, allocations: 55.46 MB / 3.564 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/9.345, allocations: 229.5 kB / 3.564 GB, free: 71.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/13.15, allocations: 0 / 3.564 GB, free: 71.46 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)