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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.453/0.453, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001013, allocations: 109.6 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 43.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.347, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4926/0.8397, allocations: 197.6 MB / 0.7504 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.851, allocations: 7.746 MB / 0.758 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.8534, allocations: 43.17 kB / 0.758 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.8554, allocations: 0.5624 MB / 0.7586 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.86, allocations: 1.839 MB / 0.7604 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.8626, allocations: 1.053 MB / 0.7614 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003323/0.8659, allocations: 3.495 MB / 0.7648 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.867, allocations: 0.8516 MB / 0.7657 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.8698, allocations: 1.402 MB / 0.767 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.8714, allocations: 0.833 MB / 0.7678 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.8716, allocations: 52.84 kB / 0.7679 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.8749, allocations: 1.977 MB / 0.7698 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.8752, allocations: 282.4 kB / 0.7701 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.8758, allocations: 0.5586 MB / 0.7706 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.8789, allocations: 2.154 MB / 0.7727 GB, free: 12 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8789, allocations: 4 kB / 0.7727 GB, free: 8 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.41e-07/0.8789, allocations: 3.938 kB / 0.7727 GB, free: 4 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.8789, allocations: 2.531 kB / 0.7728 GB, free: 4 kB / 0.5105 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.003551/0.8825, allocations: 1.66 MB / 0.7744 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8825, allocations: 10.34 kB / 0.7744 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.8847, allocations: 433.6 kB / 0.7748 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.8863, allocations: 0.9074 MB / 0.7757 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005896/0.8869, allocations: 169 kB / 0.7758 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.887, allocations: 76.16 kB / 0.7759 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.8893, allocations: 1.092 MB / 0.777 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.8894, allocations: 0 / 0.777 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.8895, allocations: 35.25 kB / 0.777 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.8895, allocations: 33.12 kB / 0.777 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.8925, allocations: 1.194 MB / 0.7782 GB, free: 14.36 MB / 0.5261 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.006052/0.8986, allocations: 4.12 MB / 0.7822 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.9011, allocations: 0.8592 MB / 0.7831 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.9024, allocations: 0.4975 MB / 0.7836 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.9031, allocations: 0.6353 MB / 0.7842 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.9047, allocations: 0.5944 MB / 0.7848 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 2.224e-06/0.9047, allocations: 3.938 kB / 0.7848 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.004398/0.9091, allocations: 1.407 MB / 0.7861 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.9092, allocations: 90.14 kB / 0.7862 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.9103, allocations: 0.8317 MB / 0.787 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-05/0.9104, allocations: 41.03 kB / 0.7871 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.9107, allocations: 429.6 kB / 0.7875 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.9109, allocations: 192.7 kB / 0.7877 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.9112, allocations: 132.5 kB / 0.7878 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9113, allocations: 329.1 kB / 0.7881 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.9125, allocations: 425.8 kB / 0.7885 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9139, allocations: 0.5501 MB / 0.7891 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.9165, allocations: 0.9012 MB / 0.7899 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9165, allocations: 0 / 0.7899 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003034/0.9195, allocations: 1.093 MB / 0.791 GB, free: 5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.9196, allocations: 37.69 kB / 0.791 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.9196, allocations: 4 kB / 0.791 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.9196, allocations: 4 kB / 0.791 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.921, allocations: 227.9 kB / 0.7913 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006437/0.9216, allocations: 1.193 MB / 0.7924 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.9228, allocations: 167.5 kB / 0.7926 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.9229, allocations: 31.98 kB / 0.7926 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00159/0.9245, allocations: 0.6181 MB / 0.7932 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001357/0.9259, allocations: 0.5331 MB / 0.7937 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002387/0.9283, allocations: 0.8946 MB / 0.7946 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.9283, allocations: 0 / 0.7946 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002895/0.9312, allocations: 1.078 MB / 0.7957 GB, free: 108 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.9312, allocations: 33.7 kB / 0.7957 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9312, allocations: 6.906 kB / 0.7957 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.108e-06/0.9313, allocations: 7.938 kB / 0.7957 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.9322, allocations: 205.7 kB / 0.7959 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.9323, allocations: 7.984 kB / 0.7959 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.9334, allocations: 151.5 kB / 0.7961 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.9335, allocations: 27.98 kB / 0.7961 GB, free: 15.68 MB / 0.5417 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.000273/0.9337, allocations: 222.9 kB / 0.7963 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.9339, allocations: 106.7 kB / 0.7964 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.9371, allocations: 1.128 MB / 0.7975 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.9371, allocations: 8 kB / 0.7975 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9371, allocations: 4 kB / 0.7975 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.9372, allocations: 3.984 kB / 0.7975 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.9419, allocations: 2.316 MB / 0.7998 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9419, allocations: 4 kB / 0.7998 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.943, allocations: 209 kB / 0.8 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.943, allocations: 4 kB / 0.8 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.9431, allocations: 19.98 kB / 0.8 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006108/0.9437, allocations: 1.179 MB / 0.8012 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9437, allocations: 4.219 kB / 0.8012 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/0.9488, allocations: 2.497 MB / 0.8036 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.9495, allocations: 279.6 kB / 0.8039 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.9497, allocations: 19.94 kB / 0.8039 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.951, allocations: 143.8 kB / 0.804 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.9512, allocations: 52.36 kB / 0.8041 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/0.9512, allocations: 30.89 kB / 0.8041 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008441/0.9521, allocations: 0.5782 MB / 0.8047 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.202e-06/0.9521, allocations: 0 / 0.8047 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001711/0.9538, allocations: 0.4912 MB / 0.8051 GB, free: 6.191 MB / 0.5417 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.0006898/0.9545, allocations: 283.8 kB / 0.8054 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004889/0.9594, allocations: 1.625 MB / 0.807 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9595, allocations: 0 / 0.807 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.9611, allocations: 0.5709 MB / 0.8076 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.9637, allocations: 459.5 kB / 0.808 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.9687, allocations: 2.612 MB / 0.8106 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.9695, allocations: 1.058 MB / 0.8116 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001374/0.9709, allocations: 279.1 kB / 0.8119 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.9712, allocations: 87.33 kB / 0.8119 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.9712, allocations: 0 / 0.8119 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.03234/1.004, allocations: 19.27 MB / 0.8308 GB, free: 12.16 MB / 0.573 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)