Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 116.9 kB / 16.38 MB, free: 6.004 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.001563/0.001563, allocations: 189.2 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2883, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5081/0.7965, allocations: 61.21 MB / 0.8446 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.8136, allocations: 11.9 MB / 0.8562 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.8168, allocations: 59.34 kB / 0.8562 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.8194, allocations: 0.6795 MB / 0.8569 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.8267, allocations: 1.954 MB / 0.8588 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.8316, allocations: 1.217 MB / 0.86 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007296/0.8389, allocations: 3.07 MB / 0.863 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.8413, allocations: 1.107 MB / 0.8641 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.8455, allocations: 1.332 MB / 0.8654 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.8477, allocations: 0.9154 MB / 0.8663 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.848, allocations: 116.9 kB / 0.8664 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.8523, allocations: 1.449 MB / 0.8678 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.8528, allocations: 294.5 kB / 0.8681 GB, free: 10.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.8541, allocations: 0.6973 MB / 0.8688 GB, free: 9.895 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.859, allocations: 2.322 MB / 0.871 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8591, allocations: 3.188 kB / 0.871 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.927e-06/0.8591, allocations: 1.094 kB / 0.871 GB, free: 8.617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.8591, allocations: 0 / 0.871 GB, free: 8.617 MB / 0.67 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.004041/0.8632, allocations: 1.741 MB / 0.8727 GB, free: 7.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8632, allocations: 13.22 kB / 0.8727 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.8656, allocations: 402.8 kB / 0.8731 GB, free: 7.086 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.8683, allocations: 1.161 MB / 0.8743 GB, free: 6.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.8684, allocations: 68.91 kB / 0.8743 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.8686, allocations: 79.34 kB / 0.8744 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.8707, allocations: 0.999 MB / 0.8754 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.8707, allocations: 1.406 kB / 0.8754 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.8708, allocations: 32.41 kB / 0.8754 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.8708, allocations: 18.5 kB / 0.8754 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.8732, allocations: 0.8687 MB / 0.8763 GB, free: 4.984 MB / 0.67 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.007537/0.8808, allocations: 4.948 MB / 0.8811 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.8844, allocations: 0.823 MB / 0.8819 GB, free: 168 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.8853, allocations: 309.7 kB / 0.8822 GB, free: 16 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/0.8861, allocations: 0.9077 MB / 0.8831 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.8862, allocations: 37.12 kB / 0.8831 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 5.17e-06/0.8862, allocations: 0 / 0.8831 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.00764/0.8938, allocations: 1.743 MB / 0.8848 GB, free: 14 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8939, allocations: 60.28 kB / 0.8849 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.8958, allocations: 1.083 MB / 0.8859 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.8959, allocations: 42.14 kB / 0.886 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.8963, allocations: 0.533 MB / 0.8865 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.8965, allocations: 157.7 kB / 0.8867 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.8968, allocations: 146.2 kB / 0.8868 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8969, allocations: 327.6 kB / 0.8871 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.8979, allocations: 323 kB / 0.8874 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.8991, allocations: 0.5307 MB / 0.8879 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.901, allocations: 0.7234 MB / 0.8886 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.901, allocations: 1.219 kB / 0.8886 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003317/0.9043, allocations: 1.04 MB / 0.8897 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.9044, allocations: 11.56 kB / 0.8897 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.9044, allocations: 4.688 kB / 0.8897 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.9057, allocations: 303.9 kB / 0.89 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.9064, allocations: 137.2 kB / 0.8901 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.908, allocations: 0.9056 MB / 0.891 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.9096, allocations: 151.5 kB / 0.8911 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/0.9097, allocations: 31.83 kB / 0.8912 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001387/0.9111, allocations: 0.5265 MB / 0.8917 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001169/0.9122, allocations: 0.5227 MB / 0.8922 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001813/0.9141, allocations: 0.7154 MB / 0.8929 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.9141, allocations: 1.312 kB / 0.8929 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003289/0.9174, allocations: 1.031 MB / 0.8939 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9174, allocations: 12.25 kB / 0.8939 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9174, allocations: 5.219 kB / 0.8939 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.9186, allocations: 293.8 kB / 0.8942 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.9192, allocations: 136.8 kB / 0.8943 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.9207, allocations: 0.8983 MB / 0.8952 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.9223, allocations: 132.4 kB / 0.8953 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.9224, allocations: 31.52 kB / 0.8953 GB, free: 6.949 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0002939/0.9227, allocations: 225.3 kB / 0.8956 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.9229, allocations: 114.2 kB / 0.8957 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.9259, allocations: 0.987 MB / 0.8966 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.926, allocations: 5.281 kB / 0.8966 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.926, allocations: 0 / 0.8966 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.926, allocations: 5.391 kB / 0.8966 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006738/0.9327, allocations: 2.326 MB / 0.8989 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.9328, allocations: 8.031 kB / 0.8989 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.9332, allocations: 71.88 kB / 0.899 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.9342, allocations: 286.8 kB / 0.8993 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.9342, allocations: 12 kB / 0.8993 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.9358, allocations: 0.9353 MB / 0.9002 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.9358, allocations: 4 kB / 0.9002 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.9399, allocations: 1.18 MB / 0.9013 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/0.9406, allocations: 275.4 kB / 0.9016 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.9408, allocations: 12 kB / 0.9016 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.9417, allocations: 71.91 kB / 0.9017 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.9418, allocations: 43.83 kB / 0.9017 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/0.9419, allocations: 23.98 kB / 0.9018 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001298/0.9432, allocations: 0.7553 MB / 0.9025 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9432, allocations: 0 / 0.9025 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001946/0.9452, allocations: 0.5694 MB / 0.903 GB, free: 15.99 MB / 0.7012 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.0009385/0.9461, allocations: 384.7 kB / 0.9034 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.9497, allocations: 1.18 MB / 0.9046 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.9497, allocations: 0 / 0.9046 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009791/0.9507, allocations: 367.4 kB / 0.9049 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.9535, allocations: 0.53 MB / 0.9054 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.9591, allocations: 2.08 MB / 0.9075 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.9597, allocations: 1.062 MB / 0.9085 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.96, allocations: 87.41 kB / 0.9086 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of SimCode: time 2.194e-06/0.96, allocations: 0 / 0.9086 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.03604/0.9961, allocations: 24.33 MB / 0.9323 GB, free: 2.223 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)