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.001227/0.001227, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001197/0.001197, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.98 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5999/0.7565, allocations: 199.9 MB / 0.828 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.7682, allocations: 7.655 MB / 0.8355 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.7706, allocations: 45.03 kB / 0.8355 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.7729, allocations: 0.6832 MB / 0.8362 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006368/0.7793, allocations: 2.025 MB / 0.8381 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.7826, allocations: 1.142 MB / 0.8393 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004422/0.787, allocations: 2.683 MB / 0.8419 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.7891, allocations: 0.9776 MB / 0.8428 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.7938, allocations: 1.593 MB / 0.8444 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.7959, allocations: 0.8208 MB / 0.8452 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.7963, allocations: 103.5 kB / 0.8453 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.8009, allocations: 1.842 MB / 0.8471 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.8017, allocations: 328.1 kB / 0.8474 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.8033, allocations: 0.6062 MB / 0.848 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.8083, allocations: 2.143 MB / 0.8501 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8084, allocations: 4 kB / 0.8501 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8084, allocations: 0 / 0.8501 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.882e-05/0.8085, allocations: 0 / 0.8501 GB, free: 11.4 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.004958/0.8134, allocations: 1.666 MB / 0.8517 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8135, allocations: 10 kB / 0.8517 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.8161, allocations: 431.9 kB / 0.8521 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.8184, allocations: 0.9603 MB / 0.8531 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.8185, allocations: 60.69 kB / 0.8531 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.8187, allocations: 69.81 kB / 0.8532 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.8214, allocations: 1.082 MB / 0.8543 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.8214, allocations: 0 / 0.8543 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.8215, allocations: 32 kB / 0.8543 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.8216, allocations: 33.98 kB / 0.8543 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.8249, allocations: 1.171 MB / 0.8555 GB, free: 6.918 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.0072/0.8321, allocations: 4.093 MB / 0.8595 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.8347, allocations: 0.8295 MB / 0.8603 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.836, allocations: 0.4934 MB / 0.8607 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/0.8368, allocations: 0.6357 MB / 0.8614 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/0.8384, allocations: 0.5874 MB / 0.8619 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 3.627e-06/0.8384, allocations: 0 / 0.8619 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004422/0.8429, allocations: 1.38 MB / 0.8633 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.843, allocations: 89.67 kB / 0.8634 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.8443, allocations: 0.8356 MB / 0.8642 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.8445, allocations: 37.7 kB / 0.8642 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.8449, allocations: 428.4 kB / 0.8646 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.8451, allocations: 190.8 kB / 0.8648 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.8453, allocations: 126 kB / 0.8649 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8455, allocations: 333.9 kB / 0.8653 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.8467, allocations: 418.7 kB / 0.8657 GB, free: 12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.8481, allocations: 0.5119 MB / 0.8662 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.8506, allocations: 0.8772 MB / 0.867 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.8506, allocations: 0 / 0.867 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003086/0.8537, allocations: 1.046 MB / 0.868 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.8538, allocations: 31.27 kB / 0.8681 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8538, allocations: 8 kB / 0.8681 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.8538, allocations: 4 kB / 0.8681 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.8552, allocations: 226.4 kB / 0.8683 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000722/0.8559, allocations: 1.192 MB / 0.8695 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.8571, allocations: 135.4 kB / 0.8696 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.8572, allocations: 23.98 kB / 0.8696 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001537/0.8588, allocations: 0.6024 MB / 0.8702 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.8601, allocations: 0.5079 MB / 0.8707 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002425/0.8626, allocations: 0.8655 MB / 0.8715 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.8626, allocations: 4 kB / 0.8715 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.003015/0.8656, allocations: 1.046 MB / 0.8726 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.8657, allocations: 33.7 kB / 0.8726 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8657, allocations: 3.938 kB / 0.8726 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.8657, allocations: 4 kB / 0.8726 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.8667, allocations: 199.8 kB / 0.8728 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.8667, allocations: 4 kB / 0.8728 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.868, allocations: 127.5 kB / 0.8729 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.8681, allocations: 27.98 kB / 0.8729 GB, free: 4.316 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.0003149/0.8684, allocations: 218 kB / 0.8732 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.8687, allocations: 102.8 kB / 0.8732 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.8721, allocations: 1.107 MB / 0.8743 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.8721, allocations: 12 kB / 0.8743 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.8721, allocations: 0 / 0.8743 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.8721, allocations: 3.984 kB / 0.8743 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.8774, allocations: 2.308 MB / 0.8766 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.8774, allocations: 0 / 0.8766 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.8785, allocations: 208 kB / 0.8768 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.8785, allocations: 7.938 kB / 0.8768 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.8786, allocations: 19.98 kB / 0.8768 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000712/0.8793, allocations: 1.191 MB / 0.878 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8793, allocations: 7.969 kB / 0.878 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.8825, allocations: 1.189 MB / 0.8792 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.8832, allocations: 291.6 kB / 0.8794 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.8835, allocations: 16 kB / 0.8794 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.8848, allocations: 103.8 kB / 0.8795 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.885, allocations: 56.38 kB / 0.8796 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.8851, allocations: 31.97 kB / 0.8796 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001038/0.8861, allocations: 0.5821 MB / 0.8802 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.837e-06/0.8862, allocations: 0 / 0.8802 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001767/0.8879, allocations: 491 kB / 0.8807 GB, free: 12.19 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.0007602/0.8887, allocations: 292.5 kB / 0.8809 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.8934, allocations: 1.59 MB / 0.8825 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8935, allocations: 4.062 kB / 0.8825 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.895, allocations: 0.5377 MB / 0.883 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.8973, allocations: 446.5 kB / 0.8835 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.9018, allocations: 1.91 MB / 0.8853 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.9025, allocations: 1.046 MB / 0.8863 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.9029, allocations: 95.39 kB / 0.8864 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/0.9029, allocations: 4 kB / 0.8864 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of Templates: time 0.03347/0.9364, allocations: 25.18 MB / 0.911 GB, free: 13.08 MB / 0.67 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)