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.349/1.349, allocations: 252 MB / 268 MB, free: 10.84 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.0009786/0.0009785, allocations: 178.5 kB / 327.6 MB, free: 2.09 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.455/1.455, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0007694/0.0007695, allocations: 86.11 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 11.25 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04042/0.2105, allocations: 59.79 MB / 0.9598 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.2258, allocations: 11.79 MB / 0.9713 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.2278, allocations: 55.62 kB / 0.9714 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.2296, allocations: 0.5477 MB / 0.9719 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.2352, allocations: 1.794 MB / 0.9737 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.2386, allocations: 1.091 MB / 0.9748 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005599/0.2442, allocations: 3.898 MB / 0.9786 GB, free: 264 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.2463, allocations: 0.9032 MB / 0.9794 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.2492, allocations: 1.116 MB / 0.9805 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.251, allocations: 0.8787 MB / 0.9814 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.2514, allocations: 44 kB / 0.9814 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.2549, allocations: 1.298 MB / 0.9827 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.2552, allocations: 222.8 kB / 0.9829 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.2564, allocations: 0.6312 MB / 0.9835 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.2589, allocations: 1.703 MB / 0.9852 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.259, allocations: 3.938 kB / 0.9852 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/0.259, allocations: 4 kB / 0.9852 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.747e-05/0.259, allocations: 0 / 0.9852 GB, free: 9.406 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.003173/0.2622, allocations: 1.498 MB / 0.9867 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2623, allocations: 12.03 kB / 0.9867 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.2649, allocations: 0.5144 MB / 0.9872 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.2675, allocations: 1.144 MB / 0.9883 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.2679, allocations: 129.9 kB / 0.9884 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.2682, allocations: 80 kB / 0.9885 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.2707, allocations: 1.037 MB / 0.9895 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2707, allocations: 0 / 0.9895 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.2708, allocations: 32 kB / 0.9895 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.2708, allocations: 16 kB / 0.9895 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.2736, allocations: 1.003 MB / 0.9905 GB, free: 3.797 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.007498/0.2811, allocations: 4.707 MB / 0.9951 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.2854, allocations: 1.138 MB / 0.9962 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.2866, allocations: 437.8 kB / 0.9967 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.2876, allocations: 1.033 MB / 0.9977 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2876, allocations: 35 kB / 0.9977 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 4.018e-06/0.2877, allocations: 4 kB / 0.9977 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.008337/0.296, allocations: 2.158 MB / 0.9998 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2961, allocations: 59.78 kB / 0.9999 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.2975, allocations: 0.9435 MB / 1.001 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.2977, allocations: 37.7 kB / 1.001 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.2981, allocations: 0.5119 MB / 1.001 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2983, allocations: 185.3 kB / 1.001 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.2983, allocations: 12 kB / 1.002 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2985, allocations: 322 kB / 1.002 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.2996, allocations: 380.9 kB / 1.002 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.3008, allocations: 0.538 MB / 1.003 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.303, allocations: 0.8166 MB / 1.004 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.303, allocations: 4 kB / 1.004 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003121/0.3061, allocations: 1.119 MB / 1.005 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3062, allocations: 162.8 kB / 1.005 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3063, allocations: 0 / 1.005 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.3076, allocations: 338.3 kB / 1.005 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.3084, allocations: 143.8 kB / 1.005 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3099, allocations: 0.9347 MB / 1.006 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3113, allocations: 179.3 kB / 1.006 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.3114, allocations: 31.98 kB / 1.006 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3114, allocations: 4 kB / 1.006 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00284/0.3143, allocations: 0.9936 MB / 1.007 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3143, allocations: 4 kB / 1.007 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3155, allocations: 319.9 kB / 1.008 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.3161, allocations: 147.8 kB / 1.008 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.3176, allocations: 0.9347 MB / 1.009 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.319, allocations: 163.5 kB / 1.009 GB, free: 200 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.3191, allocations: 27.98 kB / 1.009 GB, free: 172 kB / 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.0007395/0.3198, allocations: 348.5 kB / 1.009 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.3202, allocations: 114.6 kB / 1.009 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.3236, allocations: 1.225 MB / 1.01 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.3236, allocations: 8 kB / 1.01 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3236, allocations: 0 / 1.01 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3237, allocations: 3.984 kB / 1.01 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.3289, allocations: 2.323 MB / 1.013 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.3289, allocations: 0 / 1.013 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.3295, allocations: 120 kB / 1.013 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.3307, allocations: 324.5 kB / 1.013 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.3307, allocations: 15.98 kB / 1.013 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.3323, allocations: 0.9699 MB / 1.014 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3323, allocations: 0 / 1.014 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.3363, allocations: 1.405 MB / 1.016 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/0.3369, allocations: 287.4 kB / 1.016 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.3371, allocations: 12 kB / 1.016 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.3382, allocations: 131.8 kB / 1.016 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3383, allocations: 36.33 kB / 1.016 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.3384, allocations: 31.91 kB / 1.016 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001097/0.3395, allocations: 0.6678 MB / 1.017 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3395, allocations: 0 / 1.017 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001755/0.3413, allocations: 0.5535 MB / 1.017 GB, free: 7.426 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.000925/0.3422, allocations: 380.5 kB / 1.018 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00405/0.3463, allocations: 1.381 MB / 1.019 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3463, allocations: 0 / 1.019 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.3476, allocations: 492.8 kB / 1.019 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.3509, allocations: 0.4996 MB / 1.02 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.3556, allocations: 2.421 MB / 1.022 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/0.3565, allocations: 1.062 MB / 1.023 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.3569, allocations: 99.33 kB / 1.023 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.357, allocations: 0 / 1.023 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of Templates: time 0.03616/0.3931, allocations: 23.82 MB / 1.047 GB, free: 9.328 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)