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.0009213/0.0009213, allocations: 92.95 kB / 16.02 MB, free: 84 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.001058/0.001058, allocations: 178.7 kB / 16.92 MB, free: 6.684 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.293/1.293, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6514/0.6514, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 8.906 kB / 495.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 77.54 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4165/0.5501, allocations: 195 MB / 0.7505 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009536/0.5597, allocations: 7.643 MB / 0.7579 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.5605, allocations: 39.69 kB / 0.758 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.5618, allocations: 0.5672 MB / 0.7585 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.5656, allocations: 1.879 MB / 0.7603 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5677, allocations: 1.023 MB / 0.7613 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.5708, allocations: 3.465 MB / 0.7647 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.5718, allocations: 0.8075 MB / 0.7655 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.5747, allocations: 1.365 MB / 0.7669 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.5761, allocations: 0.7889 MB / 0.7676 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5762, allocations: 44 kB / 0.7677 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5792, allocations: 1.968 MB / 0.7696 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.5794, allocations: 270.8 kB / 0.7698 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.5799, allocations: 0.5573 MB / 0.7704 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.582, allocations: 2.118 MB / 0.7725 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.582, allocations: 4 kB / 0.7725 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.582, allocations: 0 / 0.7725 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.582, allocations: 0 / 0.7725 GB, free: 13.03 MB / 0.5919 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.002992/0.585, allocations: 1.46 MB / 0.7739 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5851, allocations: 8.031 kB / 0.7739 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.5852, allocations: 122.4 kB / 0.774 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.5875, allocations: 478.1 kB / 0.7745 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.589, allocations: 0.9212 MB / 0.7754 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/0.5896, allocations: 189.9 kB / 0.7755 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5897, allocations: 71.98 kB / 0.7756 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.592, allocations: 1.13 MB / 0.7767 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.592, allocations: 0 / 0.7767 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.5921, allocations: 32 kB / 0.7767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.5922, allocations: 33.98 kB / 0.7768 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.5953, allocations: 1.273 MB / 0.778 GB, free: 7.203 MB / 0.5919 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.005566/0.6009, allocations: 4.162 MB / 0.7821 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.6035, allocations: 0.9367 MB / 0.783 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.6048, allocations: 0.5334 MB / 0.7835 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.6056, allocations: 0.6526 MB / 0.7842 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.6071, allocations: 0.6304 MB / 0.7848 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 1.943e-06/0.6071, allocations: 0 / 0.7848 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.004204/0.6113, allocations: 1.528 MB / 0.7863 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.6114, allocations: 85.67 kB / 0.7864 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.6123, allocations: 0.8356 MB / 0.7872 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.6123, allocations: 37.7 kB / 0.7872 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.6127, allocations: 436.4 kB / 0.7876 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6128, allocations: 189.2 kB / 0.7878 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.6129, allocations: 53.69 kB / 0.7879 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.613, allocations: 333.9 kB / 0.7882 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.6143, allocations: 456.9 kB / 0.7886 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.6156, allocations: 0.5587 MB / 0.7892 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.6181, allocations: 0.9749 MB / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6181, allocations: 0 / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002828/0.6209, allocations: 1.144 MB / 0.7912 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.6211, allocations: 170.2 kB / 0.7914 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6211, allocations: 0 / 0.7914 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6211, allocations: 7.938 kB / 0.7914 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6224, allocations: 243.7 kB / 0.7916 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000594/0.623, allocations: 1.192 MB / 0.7928 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6241, allocations: 191.3 kB / 0.793 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.6242, allocations: 31.98 kB / 0.793 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.6242, allocations: 6.5 kB / 0.793 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/0.627, allocations: 1.041 MB / 0.794 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.627, allocations: 8 kB / 0.794 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.627, allocations: 4 kB / 0.794 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.628, allocations: 219.8 kB / 0.7942 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.628, allocations: 4 kB / 0.7942 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.629, allocations: 183.3 kB / 0.7944 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.6291, allocations: 27.98 kB / 0.7944 GB, free: 5.707 MB / 0.6075 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.6295, allocations: 344.9 kB / 0.7948 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6297, allocations: 98.78 kB / 0.7949 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.6328, allocations: 1.209 MB / 0.7961 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.6328, allocations: 4 kB / 0.7961 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6328, allocations: 0 / 0.7961 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6328, allocations: 3.984 kB / 0.7961 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.6372, allocations: 2.404 MB / 0.7984 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.6373, allocations: 4 kB / 0.7984 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6383, allocations: 219.8 kB / 0.7986 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.6383, allocations: 7.938 kB / 0.7986 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.6383, allocations: 23.97 kB / 0.7987 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005194/0.6389, allocations: 1.188 MB / 0.7998 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6389, allocations: 7.938 kB / 0.7998 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.6418, allocations: 1.29 MB / 0.8011 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.6421, allocations: 291.5 kB / 0.8014 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.6423, allocations: 19.97 kB / 0.8014 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.6434, allocations: 163.8 kB / 0.8015 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6435, allocations: 60.23 kB / 0.8016 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.6436, allocations: 31.97 kB / 0.8016 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006681/0.6443, allocations: 0.5821 MB / 0.8022 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/0.6443, allocations: 4 kB / 0.8022 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001149/0.6454, allocations: 487 kB / 0.8027 GB, free: 13.07 MB / 0.6231 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/0.649, allocations: 2.028 MB / 0.8046 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00461/0.6536, allocations: 1.735 MB / 0.8063 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6537, allocations: 7.938 kB / 0.8063 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.6552, allocations: 0.5925 MB / 0.8069 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.6578, allocations: 469.8 kB / 0.8074 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.6738, allocations: 8.696 MB / 0.8159 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.6743, allocations: 1.039 MB / 0.8169 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001187/0.6755, allocations: 286.1 kB / 0.8171 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.676, allocations: 363.3 kB / 0.8175 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.676, allocations: 0 / 0.8175 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7645/1.441, allocations: 26.01 MB / 0.8429 GB, free: 227 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/1.441, allocations: 285.5 kB / 0.8432 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.798, allocations: 0 / 0.8432 GB, free: 226.6 MB / 0.6387 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/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)