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: translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001365/0.001365, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001559/0.001559, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.706/0.706, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.23 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 76.19 MB / 0.6321 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5978/0.7605, allocations: 199.9 MB / 0.8273 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.7717, allocations: 7.658 MB / 0.8348 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.7737, allocations: 46.94 kB / 0.8348 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.7758, allocations: 0.6847 MB / 0.8355 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.7819, allocations: 2.015 MB / 0.8375 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.7849, allocations: 1.142 MB / 0.8386 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00383/0.7888, allocations: 2.686 MB / 0.8412 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7904, allocations: 0.9835 MB / 0.8422 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.7943, allocations: 1.586 MB / 0.8437 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.7957, allocations: 0.8242 MB / 0.8445 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.7958, allocations: 103.4 kB / 0.8446 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.7996, allocations: 1.839 MB / 0.8464 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.8, allocations: 326.2 kB / 0.8467 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007657/0.8008, allocations: 0.6095 MB / 0.8473 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.8052, allocations: 2.145 MB / 0.8494 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8053, allocations: 4 kB / 0.8494 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8053, allocations: 0 / 0.8494 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.8053, allocations: 0 / 0.8494 GB, free: 11.45 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.004338/0.8097, allocations: 1.663 MB / 0.8511 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8097, allocations: 8.25 kB / 0.8511 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.8123, allocations: 435.3 kB / 0.8515 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.8144, allocations: 0.9617 MB / 0.8524 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.8145, allocations: 56.38 kB / 0.8525 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.8146, allocations: 74.25 kB / 0.8525 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.817, allocations: 1.083 MB / 0.8536 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.817, allocations: 0 / 0.8536 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.8171, allocations: 32 kB / 0.8536 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.8171, allocations: 30 kB / 0.8537 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.8202, allocations: 1.171 MB / 0.8548 GB, free: 7.031 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.00654/0.8267, allocations: 4.099 MB / 0.8588 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.8291, allocations: 0.8294 MB / 0.8596 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.8303, allocations: 0.4909 MB / 0.8601 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007661/0.8311, allocations: 0.6361 MB / 0.8607 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.8325, allocations: 0.5836 MB / 0.8613 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 3.617e-06/0.8326, allocations: 7.922 kB / 0.8613 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004147/0.8367, allocations: 1.376 MB / 0.8626 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.8368, allocations: 85.67 kB / 0.8627 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8378, allocations: 0.8395 MB / 0.8635 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.8379, allocations: 37.7 kB / 0.8636 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.8383, allocations: 431.1 kB / 0.864 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.8385, allocations: 192.1 kB / 0.8642 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.8388, allocations: 126 kB / 0.8643 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8389, allocations: 329.9 kB / 0.8646 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.8401, allocations: 410.8 kB / 0.865 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.8415, allocations: 0.5196 MB / 0.8655 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.8438, allocations: 0.8695 MB / 0.8663 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8438, allocations: 0 / 0.8663 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00289/0.8467, allocations: 1.05 MB / 0.8674 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.8468, allocations: 37.69 kB / 0.8674 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8468, allocations: 4.156 kB / 0.8674 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.8468, allocations: 4.109 kB / 0.8674 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8482, allocations: 229.2 kB / 0.8676 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007187/0.8489, allocations: 1.188 MB / 0.8688 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.8501, allocations: 139.3 kB / 0.8689 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.8502, allocations: 31.98 kB / 0.869 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001548/0.8518, allocations: 0.5985 MB / 0.8695 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.853, allocations: 0.5119 MB / 0.87 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002338/0.8554, allocations: 0.8655 MB / 0.8709 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.8554, allocations: 0 / 0.8709 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002863/0.8583, allocations: 1.046 MB / 0.8719 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.8583, allocations: 33.69 kB / 0.8719 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8583, allocations: 4 kB / 0.8719 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.8583, allocations: 4 kB / 0.8719 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8594, allocations: 195.9 kB / 0.8721 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8594, allocations: 4 kB / 0.8721 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.8604, allocations: 123.5 kB / 0.8723 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.8605, allocations: 31.95 kB / 0.8723 GB, free: 4.426 MB / 0.6231 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.0002818/0.8608, allocations: 217.7 kB / 0.8725 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.861, allocations: 102.8 kB / 0.8726 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.864, allocations: 1.106 MB / 0.8737 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.8641, allocations: 4 kB / 0.8737 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8641, allocations: 0 / 0.8737 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.8641, allocations: 4.172 kB / 0.8737 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.8688, allocations: 2.305 MB / 0.8759 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.8689, allocations: 7.938 kB / 0.8759 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.8699, allocations: 195.9 kB / 0.8761 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.87, allocations: 7.938 kB / 0.8761 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.87, allocations: 19.98 kB / 0.8762 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000592/0.8706, allocations: 1.199 MB / 0.8773 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.8706, allocations: 4 kB / 0.8773 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.8735, allocations: 1.192 MB / 0.8785 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.874, allocations: 283.6 kB / 0.8788 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.8742, allocations: 19.98 kB / 0.8788 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.8752, allocations: 103.8 kB / 0.8789 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8754, allocations: 60.36 kB / 0.8789 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.8754, allocations: 31.97 kB / 0.879 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007306/0.8762, allocations: 0.5782 MB / 0.8795 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8762, allocations: 0 / 0.8795 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001263/0.8775, allocations: 491 kB / 0.88 GB, free: 12.31 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.0005714/0.878, allocations: 300.2 kB / 0.8803 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00453/0.8826, allocations: 1.59 MB / 0.8818 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.8826, allocations: 4.062 kB / 0.8818 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8842, allocations: 0.5533 MB / 0.8824 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.8862, allocations: 447.5 kB / 0.8828 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.8902, allocations: 1.863 MB / 0.8846 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.8908, allocations: 1.046 MB / 0.8857 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001017/0.8918, allocations: 289.2 kB / 0.8859 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.8921, allocations: 83.39 kB / 0.886 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of SimCode: time 9.31e-07/0.8921, allocations: 0 / 0.886 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of Templates: time 0.03022/0.9223, allocations: 19.66 MB / 0.9052 GB, free: 2.641 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)