Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_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.0007699/0.0007699, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008293/0.0008292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 19.98 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4505/0.5941, allocations: 182.1 MB / 0.7653 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.6042, allocations: 7.182 MB / 0.7724 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6056, allocations: 35.75 kB / 0.7724 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.607, allocations: 453 kB / 0.7728 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.6111, allocations: 1.469 MB / 0.7743 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.6137, allocations: 0.8977 MB / 0.7751 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.617, allocations: 2.98 MB / 0.778 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6181, allocations: 0.7148 MB / 0.7787 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.6206, allocations: 1.213 MB / 0.7799 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.6217, allocations: 0.7546 MB / 0.7807 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6218, allocations: 40 kB / 0.7807 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.6243, allocations: 1.263 MB / 0.7819 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.6246, allocations: 262.9 kB / 0.7822 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.6249, allocations: 241.1 kB / 0.7824 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.6265, allocations: 1.485 MB / 0.7839 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6265, allocations: 4 kB / 0.7839 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6265, allocations: 0 / 0.7839 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.6265, allocations: 0 / 0.7839 GB, free: 3.766 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.003075/0.6296, allocations: 1.468 MB / 0.7853 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6296, allocations: 8.031 kB / 0.7853 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.6298, allocations: 117.1 kB / 0.7854 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.6319, allocations: 478.1 kB / 0.7859 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.6335, allocations: 0.8905 MB / 0.7867 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000536/0.6341, allocations: 189.8 kB / 0.7869 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.6342, allocations: 72 kB / 0.787 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.6364, allocations: 1.126 MB / 0.7881 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6365, allocations: 3.938 kB / 0.7881 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.6366, allocations: 32 kB / 0.7881 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.6366, allocations: 33.98 kB / 0.7882 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.6395, allocations: 1.261 MB / 0.7894 GB, free: 13.98 MB / 0.6075 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.005858/0.6454, allocations: 4.161 MB / 0.7935 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.6478, allocations: 0.9461 MB / 0.7944 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.649, allocations: 0.5295 MB / 0.7949 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.6499, allocations: 0.6525 MB / 0.7955 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.6513, allocations: 0.6343 MB / 0.7962 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.6513, allocations: 0 / 0.7962 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003926/0.6553, allocations: 1.517 MB / 0.7976 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.6553, allocations: 93.61 kB / 0.7977 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/0.6563, allocations: 0.8316 MB / 0.7985 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.6564, allocations: 37.7 kB / 0.7986 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.6567, allocations: 424.4 kB / 0.799 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.6569, allocations: 189.2 kB / 0.7992 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.657, allocations: 12 kB / 0.7992 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6571, allocations: 334 kB / 0.7995 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.6582, allocations: 452.8 kB / 0.7999 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.6594, allocations: 0.5721 MB / 0.8005 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.6606, allocations: 0.4917 MB / 0.801 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6606, allocations: 3.953 kB / 0.801 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002624/0.6632, allocations: 1.155 MB / 0.8021 GB, free: 412 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.6633, allocations: 171.1 kB / 0.8023 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6633, allocations: 0 / 0.8023 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6634, allocations: 8 kB / 0.8023 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.6647, allocations: 257.6 kB / 0.8025 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006347/0.6653, allocations: 1.193 MB / 0.8037 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6664, allocations: 196.8 kB / 0.8039 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.6665, allocations: 27.11 kB / 0.8039 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.6665, allocations: 4.109 kB / 0.8039 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002488/0.669, allocations: 1.065 MB / 0.8049 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.669, allocations: 0 / 0.8049 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.669, allocations: 4.156 kB / 0.8049 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.6699, allocations: 227.7 kB / 0.8052 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.67, allocations: 4 kB / 0.8052 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.6709, allocations: 183.2 kB / 0.8053 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.671, allocations: 43.97 kB / 0.8054 GB, free: 12.96 MB / 0.6231 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.0004933/0.6715, allocations: 337 kB / 0.8057 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6716, allocations: 98.78 kB / 0.8058 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.6745, allocations: 1.205 MB / 0.807 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.6745, allocations: 4 kB / 0.807 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6745, allocations: 3.938 kB / 0.807 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6745, allocations: 7.938 kB / 0.807 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.6787, allocations: 2.4 MB / 0.8093 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6788, allocations: 4 kB / 0.8093 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/0.6797, allocations: 224 kB / 0.8095 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.6797, allocations: 4 kB / 0.8095 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.6798, allocations: 19.98 kB / 0.8096 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005519/0.6804, allocations: 1.195 MB / 0.8107 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6804, allocations: 4 kB / 0.8107 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.6829, allocations: 1.286 MB / 0.812 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.6833, allocations: 291.6 kB / 0.8123 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.6835, allocations: 12 kB / 0.8123 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.6845, allocations: 155.9 kB / 0.8124 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6846, allocations: 60.28 kB / 0.8125 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.6847, allocations: 35.97 kB / 0.8125 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007116/0.6854, allocations: 0.5703 MB / 0.8131 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6854, allocations: 0 / 0.8131 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00133/0.6867, allocations: 491 kB / 0.8135 GB, free: 4.367 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 (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.003289/0.69, allocations: 2.015 MB / 0.8155 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004172/0.6942, allocations: 1.747 MB / 0.8172 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6942, allocations: 0 / 0.8172 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.6957, allocations: 0.5964 MB / 0.8178 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.6979, allocations: 468.5 kB / 0.8182 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7099, allocations: 6.313 MB / 0.8244 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.7106, allocations: 1.047 MB / 0.8254 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00135/0.7119, allocations: 283.7 kB / 0.8257 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/0.7125, allocations: 359.3 kB / 0.826 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.7125, allocations: 0 / 0.826 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.7566, allocations: 26.94 MB / 0.8524 GB, free: 12.72 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.7569, allocations: 273.4 kB / 0.8526 GB, free: 12.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.082, allocations: 0 / 0.8526 GB, free: 12.36 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: