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.0007914/0.0007916, allocations: 96.08 kB / 16.02 MB, free: 76 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.0008941/0.0008944, allocations: 181.9 kB / 16.92 MB, free: 6.91 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7055/0.7055, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 8 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 77.54 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4608/0.6046, allocations: 195 MB / 0.7504 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.6156, allocations: 7.652 MB / 0.7578 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.6169, allocations: 35.75 kB / 0.7579 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.6186, allocations: 0.5672 MB / 0.7584 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005156/0.6237, allocations: 1.879 MB / 0.7603 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.6264, allocations: 1.016 MB / 0.7613 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004013/0.6304, allocations: 3.468 MB / 0.7646 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.6317, allocations: 0.8113 MB / 0.7654 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.6346, allocations: 1.358 MB / 0.7668 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.6363, allocations: 0.8014 MB / 0.7675 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.6365, allocations: 40 kB / 0.7676 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.6399, allocations: 1.968 MB / 0.7695 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.6403, allocations: 271 kB / 0.7698 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.641, allocations: 0.5572 MB / 0.7703 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.6439, allocations: 2.114 MB / 0.7724 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.644, allocations: 4 kB / 0.7724 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.644, allocations: 0 / 0.7724 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.644, allocations: 0 / 0.7724 GB, free: 13.18 MB / 0.5919 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.003463/0.6475, allocations: 1.46 MB / 0.7738 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6475, allocations: 8.031 kB / 0.7738 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.65, allocations: 482.1 kB / 0.7743 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.6518, allocations: 0.9174 MB / 0.7752 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007018/0.6525, allocations: 177.9 kB / 0.7753 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.6527, allocations: 79.94 kB / 0.7754 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.6553, allocations: 1.137 MB / 0.7765 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6554, allocations: 0 / 0.7765 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.6555, allocations: 28 kB / 0.7765 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.6555, allocations: 33.98 kB / 0.7766 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.659, allocations: 1.269 MB / 0.7778 GB, free: 7.484 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.006816/0.6659, allocations: 4.165 MB / 0.7819 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.6687, allocations: 0.931 MB / 0.7828 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.6702, allocations: 0.5403 MB / 0.7833 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008427/0.6711, allocations: 0.6487 MB / 0.784 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.6727, allocations: 0.6381 MB / 0.7846 GB, free: 120 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.877e-06/0.6728, allocations: 3.984 kB / 0.7846 GB, free: 116 kB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.004733/0.6775, allocations: 1.528 MB / 0.7861 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6776, allocations: 85.67 kB / 0.7862 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6787, allocations: 0.8356 MB / 0.787 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.6788, allocations: 37.7 kB / 0.787 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.6791, allocations: 428.4 kB / 0.7874 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.6793, allocations: 193.2 kB / 0.7876 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.6794, allocations: 49.69 kB / 0.7877 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6795, allocations: 333.9 kB / 0.788 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6809, allocations: 448.8 kB / 0.7884 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.6824, allocations: 0.5743 MB / 0.789 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.6852, allocations: 0.9593 MB / 0.7899 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.6853, allocations: 4 kB / 0.7899 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003264/0.6885, allocations: 1.155 MB / 0.791 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.6886, allocations: 158.3 kB / 0.7912 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6887, allocations: 0 / 0.7912 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6887, allocations: 4 kB / 0.7912 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.6901, allocations: 264.3 kB / 0.7914 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006862/0.6908, allocations: 1.184 MB / 0.7926 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6922, allocations: 191.4 kB / 0.7928 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.6922, allocations: 31.92 kB / 0.7928 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.6923, allocations: 4 kB / 0.7928 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003039/0.6953, allocations: 1.038 MB / 0.7938 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6953, allocations: 112 / 0.7938 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.6953, allocations: 7.938 kB / 0.7938 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.6964, allocations: 223.9 kB / 0.794 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6964, allocations: 7.984 kB / 0.7941 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6977, allocations: 183.3 kB / 0.7942 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.6977, allocations: 27.98 kB / 0.7943 GB, free: 5.98 MB / 0.6075 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.0005072/0.6982, allocations: 342 kB / 0.7946 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6984, allocations: 102.7 kB / 0.7947 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.7018, allocations: 1.206 MB / 0.7959 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.7019, allocations: 12 kB / 0.7959 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7019, allocations: 0 / 0.7959 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.7019, allocations: 3.984 kB / 0.7959 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.7069, allocations: 2.4 MB / 0.7982 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.707, allocations: 7.938 kB / 0.7982 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.7081, allocations: 219.8 kB / 0.7984 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.7081, allocations: 8 kB / 0.7984 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.7082, allocations: 23.92 kB / 0.7985 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005818/0.7088, allocations: 1.188 MB / 0.7996 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7088, allocations: 11.91 kB / 0.7996 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.7121, allocations: 1.294 MB / 0.8009 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.7126, allocations: 283.6 kB / 0.8012 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7127, allocations: 16 kB / 0.8012 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.714, allocations: 163.7 kB / 0.8013 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.7141, allocations: 56.3 kB / 0.8014 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/0.7142, allocations: 31.97 kB / 0.8014 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007535/0.715, allocations: 0.5821 MB / 0.802 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.715, allocations: 7.938 kB / 0.802 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001624/0.7166, allocations: 487 kB / 0.8025 GB, free: 13.34 MB / 0.6231 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.0007922/0.7174, allocations: 293.1 kB / 0.8027 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007743/0.7252, allocations: 1.731 MB / 0.8044 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.7253, allocations: 0 / 0.8044 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.7282, allocations: 0.6081 MB / 0.805 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/0.733, allocations: 472.3 kB / 0.8055 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.7402, allocations: 2.314 MB / 0.8077 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/0.7412, allocations: 1.039 MB / 0.8087 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002719/0.7439, allocations: 283.1 kB / 0.809 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.7445, allocations: 87.39 kB / 0.8091 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of SimCode: time 1.102e-06/0.7445, allocations: 0 / 0.8091 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of Templates: time 0.06393/0.8084, allocations: 18.85 MB / 0.8275 GB, free: 3.812 MB / 0.6387 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)