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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006844/0.0006847, allocations: 92.55 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007448/0.0007448, allocations: 175.2 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5969/0.5969, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 10.47 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.3817/0.4993, allocations: 182.1 MB / 0.7347 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.5082, allocations: 7.189 MB / 0.7418 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.5092, allocations: 35.75 kB / 0.7418 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5104, allocations: 456.9 kB / 0.7422 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.5137, allocations: 1.493 MB / 0.7437 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5158, allocations: 0.8793 MB / 0.7446 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.5188, allocations: 2.976 MB / 0.7475 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.5198, allocations: 0.7154 MB / 0.7482 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.5218, allocations: 1.217 MB / 0.7493 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008499/0.5226, allocations: 0.7507 MB / 0.7501 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-05/0.5227, allocations: 40 kB / 0.7501 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.5248, allocations: 1.263 MB / 0.7514 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.525, allocations: 262.9 kB / 0.7516 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.5252, allocations: 237.1 kB / 0.7518 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5266, allocations: 1.481 MB / 0.7533 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5266, allocations: 0 / 0.7533 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5266, allocations: 0 / 0.7533 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.5266, allocations: 0 / 0.7533 GB, free: 1.668 MB / 0.5606 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.002705/0.5293, allocations: 1.472 MB / 0.7547 GB, free: 144 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5293, allocations: 8.031 kB / 0.7547 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.5295, allocations: 118.5 kB / 0.7548 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.5315, allocations: 486 kB / 0.7553 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5328, allocations: 0.883 MB / 0.7562 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/0.5333, allocations: 189.9 kB / 0.7563 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.5334, allocations: 72 kB / 0.7564 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.5355, allocations: 1.13 MB / 0.7575 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5355, allocations: 0 / 0.7575 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.5356, allocations: 28 kB / 0.7575 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.5356, allocations: 26 kB / 0.7576 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.5384, allocations: 1.276 MB / 0.7588 GB, free: 11.87 MB / 0.5762 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.005128/0.5435, allocations: 4.157 MB / 0.7629 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.5456, allocations: 0.9265 MB / 0.7638 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.5468, allocations: 0.538 MB / 0.7643 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.5475, allocations: 0.6448 MB / 0.7649 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.5488, allocations: 0.6343 MB / 0.7656 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=57): time 1.933e-06/0.5488, allocations: 4 kB / 0.7656 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=57): time 0.003609/0.5524, allocations: 1.524 MB / 0.767 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.5525, allocations: 89.62 kB / 0.7671 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/0.5534, allocations: 0.8241 MB / 0.7679 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.5535, allocations: 41.64 kB / 0.768 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.5538, allocations: 436.3 kB / 0.7684 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.5539, allocations: 193.1 kB / 0.7686 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.554, allocations: 12 kB / 0.7686 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5541, allocations: 326 kB / 0.7689 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.5551, allocations: 448.8 kB / 0.7693 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5563, allocations: 0.5626 MB / 0.7699 GB, free: 16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.5574, allocations: 495.5 kB / 0.7703 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5574, allocations: 4 kB / 0.7703 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002444/0.5598, allocations: 1.124 MB / 0.7714 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.578e-05/0.5599, allocations: 162.1 kB / 0.7716 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.56, allocations: 11.95 kB / 0.7716 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.56, allocations: 11.92 kB / 0.7716 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5612, allocations: 240.5 kB / 0.7719 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005864/0.5618, allocations: 1.188 MB / 0.773 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.5627, allocations: 195.2 kB / 0.7732 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.5628, allocations: 24.73 kB / 0.7732 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.5628, allocations: 8 kB / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/0.5651, allocations: 1.034 MB / 0.7742 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5651, allocations: 4.156 kB / 0.7742 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.5651, allocations: 8 kB / 0.7743 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.566, allocations: 215.7 kB / 0.7745 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.566, allocations: 4 kB / 0.7745 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/0.5669, allocations: 195.3 kB / 0.7746 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.5669, allocations: 23.98 kB / 0.7747 GB, free: 10.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 63 * 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.0003553/0.5673, allocations: 337.6 kB / 0.775 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5674, allocations: 102.7 kB / 0.7751 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.5701, allocations: 1.215 MB / 0.7763 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5701, allocations: 4 kB / 0.7763 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5701, allocations: 0 / 0.7763 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5702, allocations: 11.97 kB / 0.7763 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.5742, allocations: 2.4 MB / 0.7786 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5742, allocations: 3.938 kB / 0.7786 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.5751, allocations: 220 kB / 0.7789 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.5751, allocations: 4 kB / 0.7789 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.5752, allocations: 23.94 kB / 0.7789 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005002/0.5757, allocations: 1.195 MB / 0.78 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5757, allocations: 4 kB / 0.78 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.5782, allocations: 1.29 MB / 0.7813 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.5785, allocations: 287.6 kB / 0.7816 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5787, allocations: 16 kB / 0.7816 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.5796, allocations: 155.8 kB / 0.7817 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.5797, allocations: 64.25 kB / 0.7818 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.5798, allocations: 31.97 kB / 0.7818 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000621/0.5804, allocations: 0.5782 MB / 0.7824 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5804, allocations: 0 / 0.7824 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001023/0.5815, allocations: 479.1 kB / 0.7829 GB, free: 2.367 MB / 0.5919 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.0032/0.5847, allocations: 2.024 MB / 0.7848 GB, free: 296 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003909/0.5886, allocations: 1.727 MB / 0.7865 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5886, allocations: 0 / 0.7865 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.59, allocations: 0.5964 MB / 0.7871 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.5919, allocations: 477.8 kB / 0.7876 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.603, allocations: 6.306 MB / 0.7937 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.6036, allocations: 1.047 MB / 0.7947 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001103/0.6047, allocations: 283.1 kB / 0.795 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.6052, allocations: 359.3 kB / 0.7954 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.6052, allocations: 0 / 0.7954 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2476/0.8528, allocations: 27.15 MB / 0.8219 GB, free: 215.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.853, allocations: 270.4 kB / 0.8221 GB, free: 215.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.97, allocations: 5.922 kB / 0.8221 GB, free: 215.5 MB / 0.6231 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) Environment - environmentSimulation: