Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009703/0.0009704, allocations: 184.6 kB / 326.5 MB, free: 2.688 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.595/1.595, allocations: 205 MB / 0.5766 GB, free: 21 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.0009206/0.0009206, allocations: 101.9 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003516, allocations: 11.81 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04303/0.2446, allocations: 60.52 MB / 0.9558 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.2588, allocations: 11.93 MB / 0.9675 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.2613, allocations: 51.69 kB / 0.9675 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.2638, allocations: 0.5516 MB / 0.9681 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.2699, allocations: 1.794 MB / 0.9698 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.2736, allocations: 1.094 MB / 0.9709 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005925/0.2795, allocations: 3.886 MB / 0.9747 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.2814, allocations: 0.8806 MB / 0.9755 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.285, allocations: 1.128 MB / 0.9766 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.287, allocations: 0.8631 MB / 0.9775 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.2874, allocations: 40 kB / 0.9775 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.2907, allocations: 1.306 MB / 0.9788 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.2911, allocations: 214.9 kB / 0.979 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.2923, allocations: 0.606 MB / 0.9796 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.295, allocations: 1.691 MB / 0.9813 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.295, allocations: 4 kB / 0.9813 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/0.295, allocations: 0 / 0.9813 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.112e-05/0.2951, allocations: 4 kB / 0.9813 GB, free: 13.32 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003509/0.2986, allocations: 1.489 MB / 0.9827 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2986, allocations: 8.031 kB / 0.9827 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.3011, allocations: 482.7 kB / 0.9832 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.3035, allocations: 1.132 MB / 0.9843 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.3038, allocations: 133.9 kB / 0.9844 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.304, allocations: 80 kB / 0.9845 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.306, allocations: 1.003 MB / 0.9855 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.306, allocations: 0 / 0.9855 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.3061, allocations: 36 kB / 0.9855 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3062, allocations: 16 kB / 0.9855 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3084, allocations: 0.9251 MB / 0.9864 GB, free: 7.867 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.00631/0.3148, allocations: 4.646 MB / 0.991 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.3183, allocations: 0.9306 MB / 0.9919 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/0.3191, allocations: 338 kB / 0.9922 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.3197, allocations: 0.9029 MB / 0.9931 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.3198, allocations: 43 kB / 0.9931 GB, free: 488 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.3198, allocations: 3.938 kB / 0.9931 GB, free: 484 kB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007089/0.3269, allocations: 2.01 MB / 0.9951 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.327, allocations: 55.84 kB / 0.9951 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.3287, allocations: 1.063 MB / 0.9962 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.3287, allocations: 37.7 kB / 0.9962 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.3292, allocations: 0.5157 MB / 0.9967 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.3293, allocations: 169.5 kB / 0.9969 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.3294, allocations: 49.69 kB / 0.9969 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3295, allocations: 326 kB / 0.9972 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/0.3304, allocations: 340.9 kB / 0.9976 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.3315, allocations: 0.5275 MB / 0.9981 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3333, allocations: 0.7371 MB / 0.9988 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3333, allocations: 4 kB / 0.9988 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002774/0.336, allocations: 1.077 MB / 0.9999 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3362, allocations: 201.3 kB / 1 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3362, allocations: 4 kB / 1 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.3375, allocations: 340.5 kB / 1 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.3381, allocations: 139.8 kB / 1.001 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.3397, allocations: 0.9326 MB / 1.001 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.341, allocations: 199.2 kB / 1.002 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.3411, allocations: 31.92 kB / 1.002 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3412, allocations: 4 kB / 1.002 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002527/0.3437, allocations: 0.9403 MB / 1.003 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3437, allocations: 8.031 kB / 1.003 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.3448, allocations: 316.6 kB / 1.003 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.3454, allocations: 139.8 kB / 1.003 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.3468, allocations: 0.9365 MB / 1.004 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.3481, allocations: 178.4 kB / 1.004 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.3481, allocations: 27.98 kB / 1.004 GB, free: 4.887 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.0005843/0.3487, allocations: 356.9 kB / 1.004 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.349, allocations: 106.7 kB / 1.005 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.3516, allocations: 1.042 MB / 1.006 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.3517, allocations: 11.94 kB / 1.006 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3517, allocations: 0 / 1.006 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.3517, allocations: 7.922 kB / 1.006 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/0.3579, allocations: 2.473 MB / 1.008 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.3579, allocations: 0 / 1.008 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3583, allocations: 75.89 kB / 1.008 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.3593, allocations: 328.8 kB / 1.008 GB, free: 392 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.3593, allocations: 11.98 kB / 1.008 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.3609, allocations: 0.9766 MB / 1.009 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3609, allocations: 0 / 1.009 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/0.3647, allocations: 1.294 MB / 1.011 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.3652, allocations: 271.4 kB / 1.011 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.3655, allocations: 16 kB / 1.011 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.3665, allocations: 111.9 kB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.3666, allocations: 35.89 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.3667, allocations: 27.98 kB / 1.011 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001376/0.3681, allocations: 0.7469 MB / 1.012 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3681, allocations: 0 / 1.012 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001804/0.3699, allocations: 0.5613 MB / 1.012 GB, free: 12.24 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008794/0.3708, allocations: 371.1 kB / 1.013 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.3741, allocations: 1.221 MB / 1.014 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.3742, allocations: 0 / 1.014 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.3751, allocations: 387 kB / 1.014 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.378, allocations: 0.5307 MB / 1.015 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.3839, allocations: 2.567 MB / 1.017 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.3846, allocations: 1.07 MB / 1.018 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.3849, allocations: 91.34 kB / 1.018 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/0.3849, allocations: 0 / 1.018 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of Templates: time 0.03438/0.4193, allocations: 23.89 MB / 1.042 GB, free: 14.17 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)