Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105.8 kB / 15.98 MB, free: 5.906 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.001252/0.001252, allocations: 191.4 kB / 16.91 MB, free: 5.754 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7767/0.7767, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3811, allocations: 77.91 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.6237/1.005, allocations: 211.5 MB / 0.7732 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01028/1.015, allocations: 7.01 MB / 0.7801 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/1.018, allocations: 41.09 kB / 0.7801 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/1.02, allocations: 0.69 MB / 0.7808 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008644/1.029, allocations: 2.365 MB / 0.7831 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/1.032, allocations: 1.07 MB / 0.7841 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004961/1.037, allocations: 2.831 MB / 0.7869 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/1.039, allocations: 1.076 MB / 0.788 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/1.044, allocations: 1.977 MB / 0.7899 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/1.046, allocations: 0.9837 MB / 0.7908 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004216/1.047, allocations: 118 kB / 0.791 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/1.051, allocations: 2.575 MB / 0.7935 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006807/1.052, allocations: 423.9 kB / 0.7939 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/1.054, allocations: 0.6884 MB / 0.7945 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005357/1.059, allocations: 2.619 MB / 0.7971 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.059, allocations: 3.438 kB / 0.7971 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/1.059, allocations: 0.9375 kB / 0.7971 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.452e-05/1.059, allocations: 0 / 0.7971 GB, free: 0.9922 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005465/1.065, allocations: 1.839 MB / 0.7989 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.065, allocations: 12.81 kB / 0.7989 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/1.068, allocations: 0.538 MB / 0.7994 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/1.07, allocations: 0.9653 MB / 0.8004 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005961/1.07, allocations: 184.6 kB / 0.8006 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.071, allocations: 81.31 kB / 0.8006 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/1.073, allocations: 1.232 MB / 0.8018 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.073, allocations: 0 / 0.8018 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.073, allocations: 37.08 kB / 0.8019 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/1.073, allocations: 44.95 kB / 0.8019 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/1.077, allocations: 1.548 MB / 0.8034 GB, free: 15.57 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.00633/1.083, allocations: 4.049 MB / 0.8074 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/1.086, allocations: 1.002 MB / 0.8084 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/1.087, allocations: 0.663 MB / 0.809 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.088, allocations: 0.6114 MB / 0.8096 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.088, allocations: 43 kB / 0.8097 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/1.089, allocations: 0 / 0.8097 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004749/1.093, allocations: 1.813 MB / 0.8114 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.093, allocations: 61.25 kB / 0.8115 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.094, allocations: 0.8167 MB / 0.8123 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.094, allocations: 41.83 kB / 0.8123 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/1.095, allocations: 447.9 kB / 0.8127 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/1.095, allocations: 262.8 kB / 0.813 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/1.095, allocations: 155.6 kB / 0.8131 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.095, allocations: 336.9 kB / 0.8135 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/1.097, allocations: 0.5361 MB / 0.814 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/1.098, allocations: 0.6539 MB / 0.8146 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/1.101, allocations: 1.136 MB / 0.8157 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.101, allocations: 4 kB / 0.8157 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003295/1.104, allocations: 1.347 MB / 0.8171 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/1.104, allocations: 35.7 kB / 0.8171 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.105, allocations: 0 / 0.8171 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.105, allocations: 5.062 kB / 0.8171 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.106, allocations: 264 kB / 0.8173 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008012/1.107, allocations: 1.184 MB / 0.8185 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.108, allocations: 180.6 kB / 0.8187 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.109, allocations: 34.28 kB / 0.8187 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001723/1.11, allocations: 0.7562 MB / 0.8194 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001474/1.112, allocations: 0.6522 MB / 0.8201 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002639/1.114, allocations: 1.128 MB / 0.8212 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/1.114, allocations: 0 / 0.8212 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003288/1.118, allocations: 1.342 MB / 0.8225 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/1.118, allocations: 41.97 kB / 0.8225 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.118, allocations: 0 / 0.8225 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/1.118, allocations: 5.344 kB / 0.8225 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.119, allocations: 231.7 kB / 0.8228 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.119, allocations: 4.719 kB / 0.8228 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/1.12, allocations: 162.5 kB / 0.8229 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.12, allocations: 30.95 kB / 0.8229 GB, free: 9.434 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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.0003305/1.121, allocations: 220 kB / 0.8232 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.121, allocations: 104.1 kB / 0.8233 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.124, allocations: 1.369 MB / 0.8246 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.124, allocations: 8.531 kB / 0.8246 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.124, allocations: 4 kB / 0.8246 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.124, allocations: 7.984 kB / 0.8246 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/1.13, allocations: 2.845 MB / 0.8274 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.13, allocations: 6.469 kB / 0.8274 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.131, allocations: 237.2 kB / 0.8276 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.132, allocations: 8.594 kB / 0.8276 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1.132, allocations: 22.52 kB / 0.8277 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006128/1.132, allocations: 1.193 MB / 0.8288 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.132, allocations: 12.42 kB / 0.8288 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/1.136, allocations: 1.465 MB / 0.8303 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/1.136, allocations: 307.6 kB / 0.8306 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.136, allocations: 16 kB / 0.8306 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.138, allocations: 154.5 kB / 0.8307 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.138, allocations: 59.39 kB / 0.8308 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/1.138, allocations: 31.97 kB / 0.8308 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007704/1.139, allocations: 0.5777 MB / 0.8314 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 0.8314 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001415/1.14, allocations: 0.538 MB / 0.8319 GB, free: 2.797 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006058/1.141, allocations: 272.7 kB / 0.8322 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005765/1.147, allocations: 2.137 MB / 0.8342 GB, free: 444 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.147, allocations: 4 kB / 0.8342 GB, free: 440 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.148, allocations: 0.6713 MB / 0.8349 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.151, allocations: 499.9 kB / 0.8354 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/1.155, allocations: 2.503 MB / 0.8378 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.156, allocations: 1.091 MB / 0.8389 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00174/1.158, allocations: 395.5 kB / 0.8393 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.158, allocations: 91.41 kB / 0.8394 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/1.158, allocations: 0 / 0.8394 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Templates: time 0.03554/1.194, allocations: 20.7 MB / 0.8596 GB, free: 6.816 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)