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.345/1.345, allocations: 252 MB / 268 MB, free: 10.88 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.0009469/0.0009469, allocations: 172.2 kB / 327.6 MB, free: 2.109 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.422/1.422, allocations: 205.4 MB / 0.5786 GB, free: 20.45 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.0007958/0.0007957, allocations: 89.97 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 8.906 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 106.3 MB / 0.9014 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04093/0.2532, allocations: 59.75 MB / 0.9598 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.2693, allocations: 11.79 MB / 0.9713 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.2717, allocations: 51.62 kB / 0.9714 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.2736, allocations: 0.5438 MB / 0.9719 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.2793, allocations: 1.781 MB / 0.9736 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.2826, allocations: 1.096 MB / 0.9747 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.288, allocations: 3.894 MB / 0.9785 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.2897, allocations: 0.8941 MB / 0.9794 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.2924, allocations: 1.124 MB / 0.9805 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.2937, allocations: 0.8632 MB / 0.9813 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2938, allocations: 44 kB / 0.9814 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.2966, allocations: 1.302 MB / 0.9826 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.2968, allocations: 218.8 kB / 0.9828 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.2976, allocations: 0.635 MB / 0.9835 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.2999, allocations: 1.688 MB / 0.9851 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2999, allocations: 0 / 0.9851 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2999, allocations: 0 / 0.9851 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.3, allocations: 0 / 0.9851 GB, free: 9.871 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.002875/0.3029, allocations: 1.493 MB / 0.9866 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3029, allocations: 12.03 kB / 0.9866 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.305, allocations: 470.8 kB / 0.987 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.3072, allocations: 1.144 MB / 0.9882 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.3076, allocations: 125.9 kB / 0.9883 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3077, allocations: 84 kB / 0.9884 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.3097, allocations: 1.003 MB / 0.9893 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3098, allocations: 0 / 0.9893 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.3099, allocations: 35.94 kB / 0.9894 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.3099, allocations: 20 kB / 0.9894 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.3122, allocations: 0.925 MB / 0.9903 GB, free: 4.418 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.006496/0.3187, allocations: 4.631 MB / 0.9948 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.3223, allocations: 0.9442 MB / 0.9957 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.3231, allocations: 334 kB / 0.9961 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.3238, allocations: 0.9068 MB / 0.9969 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3238, allocations: 46.94 kB / 0.997 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.3238, allocations: 0 / 0.997 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007678/0.3315, allocations: 2.002 MB / 0.9989 GB, free: 11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3316, allocations: 55.84 kB / 0.999 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.3333, allocations: 1.06 MB / 1 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.3334, allocations: 37.7 kB / 1 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.3338, allocations: 0.5235 MB / 1.001 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.334, allocations: 165.6 kB / 1.001 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.334, allocations: 12 kB / 1.001 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3342, allocations: 330 kB / 1.001 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009447/0.3351, allocations: 336.9 kB / 1.001 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.3363, allocations: 0.5274 MB / 1.002 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.338, allocations: 0.741 MB / 1.003 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.338, allocations: 4 kB / 1.003 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003809/0.3418, allocations: 1.245 MB / 1.004 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.342, allocations: 199.6 kB / 1.004 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.342, allocations: 4 kB / 1.004 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.3434, allocations: 336.5 kB / 1.004 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.3439, allocations: 127.8 kB / 1.004 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.3454, allocations: 0.9483 MB / 1.005 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3468, allocations: 187.2 kB / 1.006 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.3469, allocations: 27.98 kB / 1.006 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3469, allocations: 8 kB / 1.006 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003356/0.3503, allocations: 1.1 MB / 1.007 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3503, allocations: 4 kB / 1.007 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3515, allocations: 328.9 kB / 1.007 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.352, allocations: 135.8 kB / 1.007 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.3535, allocations: 0.9491 MB / 1.008 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3548, allocations: 163.4 kB / 1.008 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.3548, allocations: 31.98 kB / 1.008 GB, free: 1.16 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.0006331/0.3555, allocations: 356.9 kB / 1.009 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.3557, allocations: 114.6 kB / 1.009 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.3583, allocations: 1.042 MB / 1.01 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3583, allocations: 8 kB / 1.01 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.3584, allocations: 3.938 kB / 1.01 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3584, allocations: 3.984 kB / 1.01 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.3645, allocations: 2.469 MB / 1.012 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3645, allocations: 0 / 1.012 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.3649, allocations: 76.17 kB / 1.012 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.3659, allocations: 324.6 kB / 1.013 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.366, allocations: 15.98 kB / 1.013 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.3675, allocations: 0.9698 MB / 1.013 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3675, allocations: 0 / 1.013 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.3713, allocations: 1.301 MB / 1.015 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.3719, allocations: 287.4 kB / 1.015 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.372, allocations: 19.92 kB / 1.015 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/0.373, allocations: 111.8 kB / 1.015 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.3731, allocations: 31.95 kB / 1.015 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.3731, allocations: 27.98 kB / 1.015 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001163/0.3743, allocations: 0.743 MB / 1.016 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3743, allocations: 4 kB / 1.016 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001516/0.3758, allocations: 0.5497 MB / 1.016 GB, free: 8.512 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.0007603/0.3766, allocations: 375.7 kB / 1.017 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.38, allocations: 1.221 MB / 1.018 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.38, allocations: 0 / 1.018 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.381, allocations: 391 kB / 1.018 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.384, allocations: 0.5313 MB / 1.019 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.3894, allocations: 2.602 MB / 1.021 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.3901, allocations: 1.062 MB / 1.022 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.3904, allocations: 87.41 kB / 1.023 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/0.3904, allocations: 0 / 1.023 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of Templates: time 0.03312/0.4235, allocations: 23.88 MB / 1.046 GB, free: 10.41 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)