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.001482/0.001482, allocations: 104.9 kB / 16.52 MB, free: 6.27 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.001576/0.001576, allocations: 197 kB / 17.44 MB, free: 5.887 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.3 MB / 406.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.84 kB / 493.5 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3878, allocations: 76.18 MB / 0.5564 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5916/0.9794, allocations: 197.6 MB / 0.7493 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.9915, allocations: 7.734 MB / 0.7569 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.9939, allocations: 40 kB / 0.7569 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.9962, allocations: 0.5607 MB / 0.7575 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/1.003, allocations: 1.888 MB / 0.7593 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/1.007, allocations: 1.017 MB / 0.7603 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006404/1.013, allocations: 3.474 MB / 0.7637 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/1.015, allocations: 0.8271 MB / 0.7645 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/1.019, allocations: 1.393 MB / 0.7659 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/1.022, allocations: 0.8225 MB / 0.7667 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002416/1.022, allocations: 53 kB / 0.7667 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004806/1.027, allocations: 1.983 MB / 0.7686 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/1.027, allocations: 280 kB / 0.7689 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.029, allocations: 0.557 MB / 0.7695 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/1.031, allocations: 1.575 MB / 0.771 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.031, allocations: 0 / 0.771 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/1.031, allocations: 0 / 0.771 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.031, allocations: 1.25 kB / 0.771 GB, free: 1.605 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.004148/1.035, allocations: 1.664 MB / 0.7726 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.035, allocations: 14.12 kB / 0.7726 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/1.038, allocations: 437.8 kB / 0.7731 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/1.04, allocations: 0.9073 MB / 0.7739 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006121/1.04, allocations: 174.9 kB / 0.7741 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.04, allocations: 67.97 kB / 0.7742 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/1.043, allocations: 1.092 MB / 0.7752 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/1.043, allocations: 1.188 kB / 0.7752 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/1.043, allocations: 27.44 kB / 0.7753 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/1.043, allocations: 36.27 kB / 0.7753 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/1.046, allocations: 1.192 MB / 0.7765 GB, free: 16.16 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.006554/1.053, allocations: 4.113 MB / 0.7805 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/1.055, allocations: 0.8676 MB / 0.7813 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.056, allocations: 0.4921 MB / 0.7818 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/1.057, allocations: 0.6445 MB / 0.7824 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.058, allocations: 0.5924 MB / 0.783 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.945e-06/1.059, allocations: 0 / 0.783 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003966/1.062, allocations: 1.409 MB / 0.7844 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.063, allocations: 88.08 kB / 0.7845 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/1.064, allocations: 0.8369 MB / 0.7853 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/1.064, allocations: 38.23 kB / 0.7853 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/1.064, allocations: 428.8 kB / 0.7857 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/1.064, allocations: 195.2 kB / 0.7859 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.064, allocations: 126.7 kB / 0.786 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.065, allocations: 330.7 kB / 0.7864 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.066, allocations: 422.5 kB / 0.7868 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.067, allocations: 0.5308 MB / 0.7873 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/1.069, allocations: 0.8865 MB / 0.7881 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.069, allocations: 0 / 0.7881 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002728/1.072, allocations: 1.075 MB / 0.7892 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/1.072, allocations: 31.73 kB / 0.7892 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.072, allocations: 2.562 kB / 0.7892 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.072, allocations: 2.469 kB / 0.7892 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.074, allocations: 234.2 kB / 0.7895 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006835/1.074, allocations: 1.188 MB / 0.7906 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.075, allocations: 166.9 kB / 0.7908 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/1.076, allocations: 25.3 kB / 0.7908 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00146/1.077, allocations: 0.6112 MB / 0.7914 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001218/1.078, allocations: 0.5218 MB / 0.7919 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002189/1.08, allocations: 0.8805 MB / 0.7928 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/1.08, allocations: 0 / 0.7928 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002741/1.083, allocations: 1.059 MB / 0.7938 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.083, allocations: 37.72 kB / 0.7938 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.083, allocations: 3.219 kB / 0.7938 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/1.083, allocations: 7.344 kB / 0.7938 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/1.084, allocations: 198.2 kB / 0.794 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.084, allocations: 3.359 kB / 0.794 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.086, allocations: 156.5 kB / 0.7942 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/1.086, allocations: 31.59 kB / 0.7942 GB, free: 10.27 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.0003052/1.086, allocations: 210.4 kB / 0.7944 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/1.086, allocations: 98.12 kB / 0.7945 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.089, allocations: 1.134 MB / 0.7956 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.089, allocations: 7.938 kB / 0.7956 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.089, allocations: 0 / 0.7956 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.089, allocations: 7.734 kB / 0.7956 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/1.094, allocations: 2.319 MB / 0.7979 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.094, allocations: 5.25 kB / 0.7979 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/1.095, allocations: 198.5 kB / 0.7981 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.095, allocations: 12.19 kB / 0.7981 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/1.095, allocations: 23.59 kB / 0.7981 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000597/1.095, allocations: 1.186 MB / 0.7993 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.095, allocations: 6.594 kB / 0.7993 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/1.098, allocations: 1.213 MB / 0.8005 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/1.099, allocations: 290.8 kB / 0.8008 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.099, allocations: 14.47 kB / 0.8008 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.1, allocations: 135.2 kB / 0.8009 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.1, allocations: 61.62 kB / 0.801 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/1.1, allocations: 36.38 kB / 0.801 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007671/1.101, allocations: 0.575 MB / 0.8016 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.473e-06/1.101, allocations: 4 kB / 0.8016 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001749/1.103, allocations: 488.2 kB / 0.802 GB, free: 7.656 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.0009243/1.104, allocations: 291.8 kB / 0.8023 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005252/1.109, allocations: 1.61 MB / 0.8039 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.109, allocations: 4.062 kB / 0.8039 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.111, allocations: 0.5506 MB / 0.8044 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.002533/1.113, allocations: 475.2 kB / 0.8049 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/1.118, allocations: 2.298 MB / 0.8071 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/1.118, allocations: 1.041 MB / 0.8081 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.119, allocations: 90.44 kB / 0.8082 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/1.119, allocations: 0 / 0.8082 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of Templates: time 0.03166/1.15, allocations: 25.28 MB / 0.8329 GB, free: 216 kB / 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)