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.001234/0.001234, allocations: 106.8 kB / 16.4 MB, free: 6.488 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.001281/0.001281, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.24/1.24, allocations: 222.9 MB / 241 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.6861/0.6861, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 64.22 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4797/0.5952, allocations: 199.9 MB / 0.8273 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.6073, allocations: 7.656 MB / 0.8348 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.6098, allocations: 44.53 kB / 0.8348 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.6118, allocations: 0.6872 MB / 0.8355 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.6172, allocations: 2.016 MB / 0.8375 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.6199, allocations: 1.144 MB / 0.8386 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.6229, allocations: 2.672 MB / 0.8412 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.6241, allocations: 0.9897 MB / 0.8422 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.6271, allocations: 1.586 MB / 0.8437 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.6286, allocations: 0.8268 MB / 0.8445 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.6288, allocations: 102.8 kB / 0.8446 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.6327, allocations: 1.837 MB / 0.8464 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.633, allocations: 328.6 kB / 0.8467 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.6336, allocations: 0.618 MB / 0.8473 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.6362, allocations: 2.132 MB / 0.8494 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6362, allocations: 0 / 0.8494 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6362, allocations: 2.594 kB / 0.8494 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.6362, allocations: 0 / 0.8494 GB, free: 11.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.003251/0.6395, allocations: 1.666 MB / 0.851 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.6395, allocations: 9.688 kB / 0.8511 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.6417, allocations: 428.7 kB / 0.8515 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6433, allocations: 0.9721 MB / 0.8524 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.6433, allocations: 57.31 kB / 0.8525 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.6435, allocations: 67.47 kB / 0.8525 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.6457, allocations: 1.083 MB / 0.8536 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6457, allocations: 0 / 0.8536 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.6458, allocations: 28 kB / 0.8536 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.6459, allocations: 37.98 kB / 0.8537 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.6488, allocations: 1.171 MB / 0.8548 GB, free: 6.891 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.005602/0.6544, allocations: 4.105 MB / 0.8588 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.6568, allocations: 0.8295 MB / 0.8596 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.6581, allocations: 0.4926 MB / 0.8601 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007519/0.6588, allocations: 0.6315 MB / 0.8607 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.6603, allocations: 0.5825 MB / 0.8613 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 1.803e-06/0.6603, allocations: 0 / 0.8613 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.00412/0.6644, allocations: 1.376 MB / 0.8626 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.6645, allocations: 93.59 kB / 0.8627 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.6655, allocations: 0.8356 MB / 0.8635 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.6656, allocations: 41.7 kB / 0.8636 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.6659, allocations: 428.4 kB / 0.864 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.666, allocations: 190.4 kB / 0.8642 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.6663, allocations: 130 kB / 0.8643 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6664, allocations: 325.9 kB / 0.8646 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.6676, allocations: 414.8 kB / 0.865 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.6689, allocations: 0.5197 MB / 0.8655 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.6713, allocations: 0.8694 MB / 0.8664 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6713, allocations: 4 kB / 0.8664 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002783/0.6741, allocations: 1.046 MB / 0.8674 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.6741, allocations: 33.7 kB / 0.8674 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6741, allocations: 0 / 0.8674 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.6741, allocations: 4 kB / 0.8674 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.6755, allocations: 229.4 kB / 0.8676 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006398/0.6761, allocations: 1.184 MB / 0.8688 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.6771, allocations: 139.6 kB / 0.8689 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.6772, allocations: 35.91 kB / 0.869 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001459/0.6786, allocations: 0.5947 MB / 0.8695 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.6799, allocations: 0.5235 MB / 0.87 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002342/0.6823, allocations: 0.8578 MB / 0.8709 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.6823, allocations: 0 / 0.8709 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002839/0.6851, allocations: 1.05 MB / 0.8719 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.6852, allocations: 33.7 kB / 0.8719 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.6852, allocations: 3.938 kB / 0.8719 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.6852, allocations: 4 kB / 0.8719 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.6862, allocations: 187.9 kB / 0.8721 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6862, allocations: 7.984 kB / 0.8721 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.6872, allocations: 131.4 kB / 0.8723 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.6872, allocations: 23.98 kB / 0.8723 GB, free: 4.293 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.0002544/0.6875, allocations: 219.5 kB / 0.8725 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6877, allocations: 102.8 kB / 0.8726 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.6907, allocations: 1.11 MB / 0.8737 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6907, allocations: 4 kB / 0.8737 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6907, allocations: 4 kB / 0.8737 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.6907, allocations: 3.984 kB / 0.8737 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.6952, allocations: 2.305 MB / 0.8759 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6953, allocations: 8.031 kB / 0.8759 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6963, allocations: 195.8 kB / 0.8761 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.6963, allocations: 11.94 kB / 0.8761 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6963, allocations: 19.98 kB / 0.8762 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005778/0.6969, allocations: 1.199 MB / 0.8773 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6969, allocations: 4 kB / 0.8773 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.6998, allocations: 1.188 MB / 0.8785 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.7002, allocations: 287.6 kB / 0.8788 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.7004, allocations: 12 kB / 0.8788 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7014, allocations: 107.8 kB / 0.8789 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7015, allocations: 64.3 kB / 0.8789 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.7016, allocations: 31.97 kB / 0.879 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007093/0.7023, allocations: 0.5743 MB / 0.8795 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7023, allocations: 0 / 0.8795 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001173/0.7035, allocations: 495 kB / 0.88 GB, free: 12.16 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.0005698/0.7041, allocations: 287.5 kB / 0.8803 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004559/0.7087, allocations: 1.59 MB / 0.8818 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7087, allocations: 4 kB / 0.8818 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.7102, allocations: 0.5496 MB / 0.8824 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.7123, allocations: 444.7 kB / 0.8828 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.7161, allocations: 1.868 MB / 0.8846 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.7167, allocations: 1.046 MB / 0.8856 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009997/0.7177, allocations: 291 kB / 0.8859 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.718, allocations: 83.41 kB / 0.886 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.718, allocations: 0 / 0.886 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of Templates: time 0.02953/0.7475, allocations: 19.67 MB / 0.9052 GB, free: 2.496 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)