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: translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 92.7 kB / 16.02 MB, free: 80 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.000886/0.0008861, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.924/0.924, allocations: 135.3 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12.64 kB / 0.5082 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, allocations: 82.31 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4864/0.6465, allocations: 195 MB / 0.779 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.6578, allocations: 7.641 MB / 0.7865 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.6597, allocations: 35.75 kB / 0.7865 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.6618, allocations: 0.5634 MB / 0.7871 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005794/0.6677, allocations: 1.84 MB / 0.7889 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.6708, allocations: 1.056 MB / 0.7899 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004562/0.6754, allocations: 3.472 MB / 0.7933 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.677, allocations: 0.817 MB / 0.7941 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.6804, allocations: 1.361 MB / 0.7954 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.6826, allocations: 0.7975 MB / 0.7962 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.6829, allocations: 44 kB / 0.7962 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003954/0.6868, allocations: 1.964 MB / 0.7982 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/0.6873, allocations: 270.8 kB / 0.7984 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.6883, allocations: 0.5573 MB / 0.799 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.6907, allocations: 1.547 MB / 0.8005 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6907, allocations: 0 / 0.8005 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6907, allocations: 4 kB / 0.8005 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.6907, allocations: 0 / 0.8005 GB, free: 3.41 MB / 0.6075 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.003482/0.6942, allocations: 1.47 MB / 0.8019 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6943, allocations: 12.03 kB / 0.8019 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.6967, allocations: 482 kB / 0.8024 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.6986, allocations: 0.9135 MB / 0.8033 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006512/0.6992, allocations: 193.8 kB / 0.8035 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6994, allocations: 72 kB / 0.8035 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.702, allocations: 1.126 MB / 0.8046 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.702, allocations: 3.984 kB / 0.8046 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.7021, allocations: 32 kB / 0.8047 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.7022, allocations: 34 kB / 0.8047 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.7055, allocations: 1.269 MB / 0.8059 GB, free: 13.7 MB / 0.6231 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.00654/0.7121, allocations: 4.163 MB / 0.81 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.7147, allocations: 0.9364 MB / 0.8109 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.7161, allocations: 0.5373 MB / 0.8114 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/0.7169, allocations: 0.6487 MB / 0.8121 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.7185, allocations: 0.6343 MB / 0.8127 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/0.7185, allocations: 0 / 0.8127 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004379/0.7229, allocations: 1.524 MB / 0.8142 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.723, allocations: 85.67 kB / 0.8143 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.724, allocations: 0.8356 MB / 0.8151 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.7241, allocations: 37.7 kB / 0.8151 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.7244, allocations: 428.4 kB / 0.8155 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.7246, allocations: 197.1 kB / 0.8157 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.7247, allocations: 49.69 kB / 0.8158 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7248, allocations: 326 kB / 0.8161 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.7261, allocations: 468.7 kB / 0.8165 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.7275, allocations: 0.5799 MB / 0.8171 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.7301, allocations: 0.9796 MB / 0.818 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7301, allocations: 0 / 0.818 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003162/0.7332, allocations: 1.163 MB / 0.8192 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.7334, allocations: 175.2 kB / 0.8193 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.7334, allocations: 11.88 kB / 0.8194 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7334, allocations: 4.047 kB / 0.8194 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7348, allocations: 256.3 kB / 0.8196 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.7355, allocations: 1.199 MB / 0.8208 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.7368, allocations: 195.3 kB / 0.821 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.7369, allocations: 35.95 kB / 0.821 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.7369, allocations: 4 kB / 0.821 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002848/0.7398, allocations: 1.053 MB / 0.822 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7398, allocations: 0 / 0.822 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.7398, allocations: 7.938 kB / 0.822 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.7408, allocations: 227.9 kB / 0.8223 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7409, allocations: 11.94 kB / 0.8223 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7421, allocations: 183.2 kB / 0.8224 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.7422, allocations: 27.98 kB / 0.8225 GB, free: 12.07 MB / 0.6387 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 (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 (69): * Single equations (assignments): 66 * 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.0005848/0.7428, allocations: 349 kB / 0.8228 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.743, allocations: 90.88 kB / 0.8229 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/0.7462, allocations: 1.21 MB / 0.8241 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.7462, allocations: 8 kB / 0.8241 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7463, allocations: 0 / 0.8241 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.7463, allocations: 3.984 kB / 0.8241 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.7511, allocations: 2.392 MB / 0.8264 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.7511, allocations: 12.05 kB / 0.8264 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7522, allocations: 223.6 kB / 0.8266 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.7522, allocations: 4 kB / 0.8266 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.7523, allocations: 19.98 kB / 0.8267 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/0.7528, allocations: 1.191 MB / 0.8278 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7529, allocations: 8.125 kB / 0.8278 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.7559, allocations: 1.294 MB / 0.8291 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.7565, allocations: 291.6 kB / 0.8294 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7566, allocations: 12 kB / 0.8294 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.7578, allocations: 167.6 kB / 0.8296 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7579, allocations: 52.31 kB / 0.8296 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.758, allocations: 35.97 kB / 0.8296 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007477/0.7588, allocations: 0.5782 MB / 0.8302 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7588, allocations: 0 / 0.8302 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001259/0.76, allocations: 491.2 kB / 0.8307 GB, free: 3.453 MB / 0.6387 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.0006537/0.7607, allocations: 303.2 kB / 0.831 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004842/0.7656, allocations: 1.75 MB / 0.8327 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.7656, allocations: 0 / 0.8327 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.7672, allocations: 0.5847 MB / 0.8332 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/0.7701, allocations: 460.7 kB / 0.8337 GB, free: 364 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.7747, allocations: 2.356 MB / 0.836 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.7753, allocations: 1.039 MB / 0.837 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.7757, allocations: 95.39 kB / 0.8371 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.7757, allocations: 0 / 0.8371 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.0324/0.8081, allocations: 25.08 MB / 0.8616 GB, free: 3.816 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)