Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 183.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007732/0.0007733, allocations: 94.23 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 11.34 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03953/0.234, allocations: 60.55 MB / 0.9559 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2482, allocations: 11.94 MB / 0.9675 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.2505, allocations: 55.62 kB / 0.9676 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2522, allocations: 0.5516 MB / 0.9681 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.2574, allocations: 1.791 MB / 0.9699 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.2606, allocations: 1.098 MB / 0.9709 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004387/0.265, allocations: 3.897 MB / 0.9747 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.2665, allocations: 0.8929 MB / 0.9756 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.2688, allocations: 1.124 MB / 0.9767 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2705, allocations: 0.8708 MB / 0.9776 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.2707, allocations: 44 kB / 0.9776 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.2735, allocations: 1.302 MB / 0.9789 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.2738, allocations: 218.9 kB / 0.9791 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2749, allocations: 0.6099 MB / 0.9797 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.2773, allocations: 1.695 MB / 0.9813 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2773, allocations: 0 / 0.9813 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2773, allocations: 7.938 kB / 0.9813 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.599e-05/0.2774, allocations: 0 / 0.9813 GB, free: 13.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00316/0.2805, allocations: 1.497 MB / 0.9828 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2806, allocations: 12.03 kB / 0.9828 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.2831, allocations: 0.5144 MB / 0.9833 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.2851, allocations: 1.148 MB / 0.9844 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/0.2855, allocations: 125.9 kB / 0.9846 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2856, allocations: 84 kB / 0.9846 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.2877, allocations: 1.041 MB / 0.9857 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.2877, allocations: 7.984 kB / 0.9857 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.787e-05/0.2878, allocations: 36 kB / 0.9857 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.2879, allocations: 20 kB / 0.9857 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.2904, allocations: 0.9992 MB / 0.9867 GB, free: 7.598 MB / 0.6355 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.006036/0.2965, allocations: 4.699 MB / 0.9913 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.3007, allocations: 1.125 MB / 0.9924 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3018, allocations: 448.7 kB / 0.9928 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/0.3028, allocations: 1.033 MB / 0.9938 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3028, allocations: 39 kB / 0.9938 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.3028, allocations: 0 / 0.9938 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.007789/0.3106, allocations: 2.151 MB / 0.9959 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3107, allocations: 63.78 kB / 0.996 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.312, allocations: 0.9396 MB / 0.9969 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.3121, allocations: 37.7 kB / 0.997 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.3126, allocations: 0.5118 MB / 0.9975 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.3127, allocations: 189.3 kB / 0.9976 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.3128, allocations: 57.62 kB / 0.9977 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.313, allocations: 322 kB / 0.998 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.314, allocations: 376.9 kB / 0.9984 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.3152, allocations: 0.5381 MB / 0.9989 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.3173, allocations: 0.8166 MB / 0.9997 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3173, allocations: 0 / 0.9997 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00294/0.3202, allocations: 1.119 MB / 1.001 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.3204, allocations: 164.4 kB / 1.001 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3204, allocations: 7.984 kB / 1.001 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3217, allocations: 333.8 kB / 1.001 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.3224, allocations: 143.8 kB / 1.001 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.3238, allocations: 0.9407 MB / 1.002 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.325, allocations: 171.3 kB / 1.002 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.3251, allocations: 27.98 kB / 1.003 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3251, allocations: 7.984 kB / 1.003 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002651/0.3277, allocations: 0.9937 MB / 1.003 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3277, allocations: 0 / 1.003 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3288, allocations: 320.8 kB / 1.004 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.3294, allocations: 143.8 kB / 1.004 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.3308, allocations: 0.94 MB / 1.005 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.332, allocations: 163.5 kB / 1.005 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.332, allocations: 27.98 kB / 1.005 GB, free: 3.949 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.3326, allocations: 345 kB / 1.005 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.3328, allocations: 110.7 kB / 1.005 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.3359, allocations: 1.233 MB / 1.007 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3359, allocations: 4 kB / 1.007 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3359, allocations: 0 / 1.007 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.336, allocations: 3.984 kB / 1.007 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/0.3404, allocations: 2.312 MB / 1.009 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3405, allocations: 8.031 kB / 1.009 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.341, allocations: 119.7 kB / 1.009 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3421, allocations: 328.4 kB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.3422, allocations: 15.98 kB / 1.009 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.3437, allocations: 0.9758 MB / 1.01 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3437, allocations: 3.984 kB / 1.01 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.3474, allocations: 1.398 MB / 1.012 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.3478, allocations: 279.4 kB / 1.012 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.348, allocations: 15.94 kB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.349, allocations: 127.9 kB / 1.012 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.3491, allocations: 40.31 kB / 1.012 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.3492, allocations: 23.98 kB / 1.012 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009367/0.3501, allocations: 0.6638 MB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3501, allocations: 0 / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00151/0.3516, allocations: 0.569 MB / 1.013 GB, free: 11.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007815/0.3524, allocations: 368.9 kB / 1.014 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.3561, allocations: 1.385 MB / 1.015 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3561, allocations: 0 / 1.015 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3573, allocations: 488.8 kB / 1.016 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.3598, allocations: 0.4986 MB / 1.016 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.3636, allocations: 2.398 MB / 1.018 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.3643, allocations: 1.062 MB / 1.019 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3645, allocations: 87.39 kB / 1.019 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of SimCode: time 4.31e-07/0.3645, allocations: 4 kB / 1.02 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of Templates: time 0.03006/0.3946, allocations: 23.83 MB / 1.043 GB, free: 13.14 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)