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.001064/0.001064, allocations: 87.67 kB / 16.66 MB, free: 5.742 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.001195/0.001195, allocations: 181.6 kB / 17.58 MB, free: 5.477 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.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7414/0.7414, allocations: 115.5 MB / 408.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4459, allocations: 77.51 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.614/1.06, allocations: 195 MB / 0.751 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.071, allocations: 7.653 MB / 0.7585 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/1.073, allocations: 38.81 kB / 0.7585 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/1.075, allocations: 0.5701 MB / 0.7591 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/1.081, allocations: 1.873 MB / 0.7609 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/1.085, allocations: 1.021 MB / 0.7619 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006744/1.091, allocations: 3.474 MB / 0.7653 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.094, allocations: 0.806 MB / 0.7661 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/1.099, allocations: 1.36 MB / 0.7674 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/1.102, allocations: 0.7971 MB / 0.7682 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/1.102, allocations: 41.12 kB / 0.7682 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/1.107, allocations: 1.97 MB / 0.7701 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/1.107, allocations: 258.3 kB / 0.7704 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/1.108, allocations: 0.565 MB / 0.7709 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/1.111, allocations: 1.548 MB / 0.7724 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.111, allocations: 5.094 kB / 0.7724 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/1.111, allocations: 0 / 0.7724 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.043e-05/1.111, allocations: 0 / 0.7724 GB, free: 17.75 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.003634/1.115, allocations: 1.459 MB / 0.7739 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.115, allocations: 13.91 kB / 0.7739 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/1.117, allocations: 474.4 kB / 0.7743 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/1.119, allocations: 0.9212 MB / 0.7752 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006927/1.12, allocations: 185.3 kB / 0.7754 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.12, allocations: 73.19 kB / 0.7755 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/1.123, allocations: 1.131 MB / 0.7766 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/1.123, allocations: 5.25 kB / 0.7766 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/1.123, allocations: 27.81 kB / 0.7766 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/1.123, allocations: 33.34 kB / 0.7766 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/1.127, allocations: 1.273 MB / 0.7779 GB, free: 16.31 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.007267/1.134, allocations: 4.16 MB / 0.782 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.137, allocations: 0.943 MB / 0.7829 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/1.138, allocations: 0.5357 MB / 0.7834 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008169/1.139, allocations: 0.6545 MB / 0.784 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/1.141, allocations: 0.6371 MB / 0.7847 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.294e-06/1.141, allocations: 0 / 0.7847 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.004551/1.145, allocations: 1.522 MB / 0.7861 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/1.145, allocations: 91.05 kB / 0.7862 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.146, allocations: 0.8361 MB / 0.787 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.146, allocations: 39.11 kB / 0.7871 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/1.147, allocations: 428.9 kB / 0.7875 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.147, allocations: 197.1 kB / 0.7877 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/1.147, allocations: 49.52 kB / 0.7877 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.147, allocations: 324.2 kB / 0.788 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.148, allocations: 452.3 kB / 0.7885 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.15, allocations: 0.5668 MB / 0.789 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/1.152, allocations: 0.9684 MB / 0.79 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.152, allocations: 3.609 kB / 0.79 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003083/1.155, allocations: 1.152 MB / 0.7911 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.155, allocations: 170.8 kB / 0.7913 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.155, allocations: 0 / 0.7913 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.156, allocations: 3.094 kB / 0.7913 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.157, allocations: 240.5 kB / 0.7915 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007173/1.158, allocations: 1.206 MB / 0.7927 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.159, allocations: 183.8 kB / 0.7928 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/1.159, allocations: 32.42 kB / 0.7929 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.159, allocations: 2.906 kB / 0.7929 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/1.162, allocations: 1.041 MB / 0.7939 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.162, allocations: 2.875 kB / 0.7939 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/1.162, allocations: 3.594 kB / 0.7939 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/1.163, allocations: 219.2 kB / 0.7941 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.163, allocations: 3.344 kB / 0.7941 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.164, allocations: 186.1 kB / 0.7943 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.165, allocations: 28.55 kB / 0.7943 GB, free: 10.66 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.0005658/1.165, allocations: 342.5 kB / 0.7946 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.165, allocations: 102.5 kB / 0.7947 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.168, allocations: 1.217 MB / 0.7959 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.168, allocations: 8 kB / 0.7959 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.168, allocations: 0 / 0.7959 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.169, allocations: 11.12 kB / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/1.173, allocations: 2.393 MB / 0.7983 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.173, allocations: 2.969 kB / 0.7983 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.174, allocations: 217.1 kB / 0.7985 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/1.174, allocations: 4.797 kB / 0.7985 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/1.175, allocations: 24.3 kB / 0.7985 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006584/1.175, allocations: 1.189 MB / 0.7997 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.175, allocations: 5.672 kB / 0.7997 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/1.178, allocations: 1.296 MB / 0.801 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/1.179, allocations: 284.9 kB / 0.8012 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.179, allocations: 17.59 kB / 0.8012 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.18, allocations: 165.6 kB / 0.8014 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.18, allocations: 58.8 kB / 0.8015 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/1.181, allocations: 34.97 kB / 0.8015 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007719/1.181, allocations: 0.5769 MB / 0.8021 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.181, allocations: 0 / 0.8021 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001439/1.183, allocations: 491.3 kB / 0.8025 GB, free: 7.867 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.0006543/1.183, allocations: 289.8 kB / 0.8028 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004831/1.188, allocations: 1.742 MB / 0.8045 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.188, allocations: 0 / 0.8045 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/1.19, allocations: 0.5978 MB / 0.8051 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/1.193, allocations: 467.2 kB / 0.8055 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/1.198, allocations: 2.338 MB / 0.8078 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/1.198, allocations: 1.049 MB / 0.8088 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.199, allocations: 87.7 kB / 0.8089 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/1.199, allocations: 0 / 0.8089 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.03388/1.233, allocations: 25.14 MB / 0.8335 GB, free: 2.633 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)