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.001787/0.001787, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.003794/0.003794, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.683/2.683, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.836/1.836, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006533, allocations: 13.42 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3214, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 1.021/1.343, allocations: 166.7 MB / 0.7501 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03018/1.373, allocations: 7.055 MB / 0.757 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/1.376, allocations: 31.75 kB / 0.757 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003888/1.38, allocations: 0.6182 MB / 0.7576 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01463/1.395, allocations: 1.789 MB / 0.7594 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/1.401, allocations: 1.144 MB / 0.7605 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01067/1.411, allocations: 1.568 MB / 0.762 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/1.414, allocations: 0.7461 MB / 0.7627 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/1.42, allocations: 1.09 MB / 0.7638 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.422, allocations: 0.5523 MB / 0.7643 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004999/1.423, allocations: 48 kB / 0.7644 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/1.428, allocations: 1.096 MB / 0.7655 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009659/1.429, allocations: 247.1 kB / 0.7657 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.43, allocations: 249 kB / 0.7659 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/1.435, allocations: 1.411 MB / 0.7673 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.435, allocations: 0 / 0.7673 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.096e-06/1.435, allocations: 0 / 0.7673 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.93e-05/1.435, allocations: 0 / 0.7673 GB, free: 4.141 MB / 0.5762 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.006874/1.442, allocations: 1.442 MB / 0.7687 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.442, allocations: 12.03 kB / 0.7687 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006289/1.442, allocations: 118.4 kB / 0.7688 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/1.447, allocations: 486.1 kB / 0.7693 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/1.45, allocations: 0.8519 MB / 0.7701 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/1.452, allocations: 185.9 kB / 0.7703 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/1.452, allocations: 79.95 kB / 0.7704 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/1.457, allocations: 1.122 MB / 0.7715 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.457, allocations: 0 / 0.7715 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/1.457, allocations: 24 kB / 0.7715 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.323e-05/1.457, allocations: 37.98 kB / 0.7715 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005566/1.463, allocations: 1.269 MB / 0.7728 GB, free: 14.4 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.01239/1.475, allocations: 4.179 MB / 0.7769 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/1.479, allocations: 0.9493 MB / 0.7778 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.48, allocations: 482.1 kB / 0.7783 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002757/1.483, allocations: 0.6304 MB / 0.7789 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 5.249e-06/1.483, allocations: 0 / 0.7789 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.007572/1.491, allocations: 1.524 MB / 0.7804 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.491, allocations: 85.78 kB / 0.7804 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/1.493, allocations: 0.8355 MB / 0.7813 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.494, allocations: 41.7 kB / 0.7813 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/1.494, allocations: 432.3 kB / 0.7817 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.495, allocations: 189.2 kB / 0.7819 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/1.495, allocations: 12 kB / 0.7819 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.495, allocations: 334 kB / 0.7822 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/1.497, allocations: 452.8 kB / 0.7826 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/1.499, allocations: 0.576 MB / 0.7832 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/1.502, allocations: 491.6 kB / 0.7837 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.502, allocations: 4 kB / 0.7837 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005398/1.507, allocations: 1.159 MB / 0.7848 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005867/1.508, allocations: 0.7344 MB / 0.7855 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.508, allocations: 0 / 0.7855 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.508, allocations: 8 kB / 0.7855 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/1.51, allocations: 247.7 kB / 0.7858 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/1.512, allocations: 1.196 MB / 0.7869 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.514, allocations: 191.4 kB / 0.7871 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/1.514, allocations: 31.98 kB / 0.7872 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.514, allocations: 6.188 kB / 0.7872 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00495/1.519, allocations: 1.053 MB / 0.7882 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.519, allocations: 48 / 0.7882 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.519, allocations: 11.98 kB / 0.7882 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.521, allocations: 219.9 kB / 0.7884 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.521, allocations: 10 kB / 0.7884 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/1.523, allocations: 191.3 kB / 0.7886 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/1.524, allocations: 23.98 kB / 0.7886 GB, free: 13.54 MB / 0.6075 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.0009653/1.525, allocations: 341 kB / 0.789 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/1.525, allocations: 98.78 kB / 0.789 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/1.53, allocations: 1.208 MB / 0.7902 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.53, allocations: 12 kB / 0.7902 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.53, allocations: 7.938 kB / 0.7902 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.53, allocations: 0 / 0.7902 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/1.539, allocations: 2.404 MB / 0.7926 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.539, allocations: 8.031 kB / 0.7926 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.54, allocations: 218.9 kB / 0.7928 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.983e-05/1.54, allocations: 8 kB / 0.7928 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.541, allocations: 23.97 kB / 0.7928 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.542, allocations: 1.188 MB / 0.794 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/1.542, allocations: 12.12 kB / 0.794 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/1.547, allocations: 1.415 MB / 0.7954 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.548, allocations: 299.5 kB / 0.7957 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/1.549, allocations: 16.86 kB / 0.7957 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.551, allocations: 155.9 kB / 0.7958 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.551, allocations: 56.34 kB / 0.7959 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.551, allocations: 27.98 kB / 0.7959 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001619/1.553, allocations: 0.5743 MB / 0.7965 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/1.553, allocations: 0 / 0.7965 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002976/1.556, allocations: 0.4912 MB / 0.797 GB, free: 4.711 MB / 0.6075 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.007573/1.563, allocations: 2.919 MB / 0.7998 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00792/1.571, allocations: 1.735 MB / 0.8015 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.571, allocations: 4 kB / 0.8015 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/1.574, allocations: 0.6003 MB / 0.8021 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/1.578, allocations: 451.6 kB / 0.8025 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.589, allocations: 3.815 MB / 0.8063 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.591, allocations: 1.07 MB / 0.8073 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002727/1.593, allocations: 287.3 kB / 0.8076 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.594, allocations: 359.3 kB / 0.8079 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.523e-06/1.595, allocations: 0 / 0.8079 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/1.853, allocations: 26.57 MB / 0.8339 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004301/1.853, allocations: 261.6 kB / 0.8341 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.741/6.595, allocations: 0 / 0.8341 GB, free: 14.75 MB / 0.6544 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: