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.001114/0.001114, allocations: 108 kB / 17.03 MB, free: 5.656 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.00128/0.00128, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.323/1.323, 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.71/0.71, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3145, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4718/0.7863, allocations: 199.9 MB / 0.7528 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.7964, allocations: 7.655 MB / 0.7603 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.7978, allocations: 41.47 kB / 0.7603 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.7996, allocations: 0.6921 MB / 0.761 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.8049, allocations: 2.014 MB / 0.763 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.8079, allocations: 1.135 MB / 0.7641 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.8118, allocations: 2.686 MB / 0.7667 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.8134, allocations: 0.9798 MB / 0.7676 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.8174, allocations: 1.562 MB / 0.7692 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.819, allocations: 0.83 MB / 0.77 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.8192, allocations: 103.8 kB / 0.7701 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.8232, allocations: 1.84 MB / 0.7719 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.8237, allocations: 331.8 kB / 0.7722 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.8247, allocations: 0.6116 MB / 0.7728 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.8284, allocations: 2.153 MB / 0.7749 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8284, allocations: 1.094 kB / 0.7749 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8284, allocations: 0.9688 kB / 0.7749 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.8285, allocations: 0 / 0.7749 GB, free: 1.637 MB / 0.5762 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.003768/0.8322, allocations: 1.669 MB / 0.7765 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8323, allocations: 9.531 kB / 0.7765 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.8347, allocations: 432.2 kB / 0.7769 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.8365, allocations: 0.9572 MB / 0.7779 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.8366, allocations: 53.16 kB / 0.7779 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.8368, allocations: 72.84 kB / 0.778 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.839, allocations: 1.085 MB / 0.7791 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.8391, allocations: 4.859 kB / 0.7791 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.8392, allocations: 28.59 kB / 0.7791 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.8392, allocations: 32.61 kB / 0.7791 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.8421, allocations: 1.179 MB / 0.7803 GB, free: 16.26 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.005996/0.8481, allocations: 4.093 MB / 0.7843 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.8503, allocations: 0.8373 MB / 0.7851 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.8514, allocations: 0.4887 MB / 0.7856 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000764/0.8521, allocations: 0.6371 MB / 0.7862 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/0.8534, allocations: 0.583 MB / 0.7868 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.384e-06/0.8535, allocations: 0 / 0.7868 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003686/0.8572, allocations: 1.379 MB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.8572, allocations: 87.8 kB / 0.7882 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.8582, allocations: 0.8383 MB / 0.789 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.8583, allocations: 42.7 kB / 0.789 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.8586, allocations: 427.1 kB / 0.7895 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.8587, allocations: 193.2 kB / 0.7896 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.859, allocations: 125.8 kB / 0.7898 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8591, allocations: 330 kB / 0.7901 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.8602, allocations: 412.5 kB / 0.7905 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.8614, allocations: 0.5213 MB / 0.791 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.8636, allocations: 0.8705 MB / 0.7918 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8636, allocations: 0 / 0.7918 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002648/0.8662, allocations: 1.053 MB / 0.7929 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.8663, allocations: 36.95 kB / 0.7929 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8663, allocations: 5 kB / 0.7929 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8663, allocations: 3.438 kB / 0.7929 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8676, allocations: 221.8 kB / 0.7931 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006689/0.8683, allocations: 1.189 MB / 0.7943 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.8695, allocations: 136.7 kB / 0.7944 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.8696, allocations: 39.81 kB / 0.7944 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001372/0.871, allocations: 0.5922 MB / 0.795 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001145/0.8721, allocations: 0.5148 MB / 0.7955 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002109/0.8743, allocations: 0.8659 MB / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.8743, allocations: 0 / 0.7964 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002555/0.8768, allocations: 1.041 MB / 0.7974 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.8769, allocations: 36.88 kB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8769, allocations: 0 / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.8769, allocations: 8.812 kB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/0.8779, allocations: 195.1 kB / 0.7976 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8779, allocations: 3.703 kB / 0.7976 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.8789, allocations: 122.1 kB / 0.7977 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.879, allocations: 30.8 kB / 0.7978 GB, free: 10.59 MB / 0.5919 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.0002326/0.8793, allocations: 211.4 kB / 0.798 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.8795, allocations: 94.59 kB / 0.798 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.8822, allocations: 1.117 MB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.8823, allocations: 5.25 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8823, allocations: 2.344 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8823, allocations: 9.281 kB / 0.7992 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.8867, allocations: 2.291 MB / 0.8014 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8868, allocations: 2.656 kB / 0.8014 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/0.8878, allocations: 197.8 kB / 0.8016 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.8878, allocations: 8.562 kB / 0.8016 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.8879, allocations: 25.06 kB / 0.8016 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.8884, allocations: 1.187 MB / 0.8028 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8884, allocations: 5.047 kB / 0.8028 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.8911, allocations: 1.202 MB / 0.804 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.8916, allocations: 288.1 kB / 0.8042 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.8918, allocations: 21.84 kB / 0.8043 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.8928, allocations: 106.6 kB / 0.8044 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.893, allocations: 59.83 kB / 0.8044 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.8931, allocations: 32.27 kB / 0.8044 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006902/0.8938, allocations: 0.5795 MB / 0.805 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8938, allocations: 4 kB / 0.805 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001286/0.8951, allocations: 489.4 kB / 0.8055 GB, free: 7.98 MB / 0.5919 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.0006232/0.8957, allocations: 291.5 kB / 0.8058 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004439/0.9001, allocations: 1.584 MB / 0.8073 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9002, allocations: 0 / 0.8073 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.9016, allocations: 0.5539 MB / 0.8078 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.9037, allocations: 452.2 kB / 0.8083 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.9076, allocations: 1.861 MB / 0.8101 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.9082, allocations: 1.05 MB / 0.8111 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001092/0.9093, allocations: 278.8 kB / 0.8114 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.9096, allocations: 80.78 kB / 0.8115 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.9096, allocations: 4 kB / 0.8115 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of Templates: time 0.03086/0.9405, allocations: 19.55 MB / 0.8306 GB, free: 6.672 MB / 0.6075 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)