Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.4 MB / 303.7 MB, free: 8.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 186.5 kB / 372.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.631 GB, free: 13.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007793/0.0007792, allocations: 89.83 kB / 0.7444 GB, free: 64.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 15.98 kB / 0.8675 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 115.3 MB / 0.9801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.6126/0.9219, allocations: 56.52 MB / 1.035 GB, free: 67.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.9396, allocations: 11.13 MB / 1.046 GB, free: 67.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.9425, allocations: 49.5 kB / 1.046 GB, free: 67.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.9446, allocations: 472.9 kB / 1.047 GB, free: 67.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.9512, allocations: 1.624 MB / 1.048 GB, free: 66.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.9552, allocations: 0.8724 MB / 1.049 GB, free: 66.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006765/0.9619, allocations: 3.413 MB / 1.052 GB, free: 66.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.964, allocations: 0.8841 MB / 1.053 GB, free: 65.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.9671, allocations: 1.102 MB / 1.054 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.969, allocations: 0.8082 MB / 1.055 GB, free: 65.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.9692, allocations: 47.06 kB / 1.055 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00383/0.973, allocations: 1.273 MB / 1.056 GB, free: 65.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.9733, allocations: 203 kB / 1.057 GB, free: 65.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.9745, allocations: 0.6086 MB / 1.057 GB, free: 65.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.9771, allocations: 1.703 MB / 1.059 GB, free: 64.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9771, allocations: 4 kB / 1.059 GB, free: 64.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9771, allocations: 0 / 1.059 GB, free: 64.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.9771, allocations: 2.734 kB / 1.059 GB, free: 64.9 MB / 0.7448 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.002643/0.9798, allocations: 1.5 MB / 1.06 GB, free: 63.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9798, allocations: 9.344 kB / 1.06 GB, free: 63.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.9819, allocations: 476.5 kB / 1.061 GB, free: 63.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.984, allocations: 1.131 MB / 1.062 GB, free: 63.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.9843, allocations: 127.4 kB / 1.062 GB, free: 63.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.9845, allocations: 82.06 kB / 1.062 GB, free: 63.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.9863, allocations: 1.002 MB / 1.063 GB, free: 63.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.9864, allocations: 4 kB / 1.063 GB, free: 63.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.9865, allocations: 31.06 kB / 1.063 GB, free: 63.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.9865, allocations: 19.5 kB / 1.063 GB, free: 63.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.9887, allocations: 0.9164 MB / 1.064 GB, free: 63.3 MB / 0.7448 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.005702/0.9944, allocations: 4.611 MB / 1.069 GB, free: 60.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.9977, allocations: 0.9408 MB / 1.069 GB, free: 60.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.9984, allocations: 338.3 kB / 1.07 GB, free: 60.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.9989, allocations: 0.9025 MB / 1.071 GB, free: 59.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.999, allocations: 42.14 kB / 1.071 GB, free: 59.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.725e-06/0.999, allocations: 0 / 1.071 GB, free: 59.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.006955/1.006, allocations: 2.005 MB / 1.073 GB, free: 58.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/1.006, allocations: 58.09 kB / 1.073 GB, free: 58.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/1.007, allocations: 1.046 MB / 1.074 GB, free: 58.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/1.008, allocations: 42.97 kB / 1.074 GB, free: 58.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/1.008, allocations: 0.5225 MB / 1.074 GB, free: 57.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.008, allocations: 168.8 kB / 1.074 GB, free: 57.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/1.008, allocations: 8 kB / 1.074 GB, free: 57.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.008, allocations: 327.7 kB / 1.075 GB, free: 57.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/1.009, allocations: 334.6 kB / 1.075 GB, free: 57.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/1.01, allocations: 0.5268 MB / 1.076 GB, free: 56.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.011, allocations: 0.7285 MB / 1.076 GB, free: 56.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.011, allocations: 10.97 kB / 1.076 GB, free: 56.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00338/1.015, allocations: 1.224 MB / 1.078 GB, free: 56.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.015, allocations: 209.3 kB / 1.078 GB, free: 55.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.015, allocations: 3.031 kB / 1.078 GB, free: 55.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.016, allocations: 328.5 kB / 1.078 GB, free: 55.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/1.017, allocations: 136.7 kB / 1.078 GB, free: 55.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/1.018, allocations: 0.9354 MB / 1.079 GB, free: 55.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.019, allocations: 194.2 kB / 1.079 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/1.019, allocations: 30.19 kB / 1.079 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.02, allocations: 7.031 kB / 1.079 GB, free: 55.04 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/1.023, allocations: 1.094 MB / 1.08 GB, free: 54.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.023, allocations: 3.875 kB / 1.08 GB, free: 54.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.024, allocations: 325.8 kB / 1.081 GB, free: 54.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/1.024, allocations: 127.3 kB / 1.081 GB, free: 54.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/1.025, allocations: 0.9373 MB / 1.082 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.027, allocations: 174.9 kB / 1.082 GB, free: 53.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/1.027, allocations: 28.61 kB / 1.082 GB, free: 53.92 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007241/1.028, allocations: 354.8 kB / 1.082 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/1.028, allocations: 110.1 kB / 1.082 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/1.03, allocations: 1.04 MB / 1.083 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.03, allocations: 13.55 kB / 1.083 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.03, allocations: 3.938 kB / 1.083 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.03, allocations: 3.875 kB / 1.083 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/1.036, allocations: 2.472 MB / 1.086 GB, free: 52.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.036, allocations: 6.969 kB / 1.086 GB, free: 52.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/1.036, allocations: 73.03 kB / 1.086 GB, free: 52.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000974/1.037, allocations: 327.1 kB / 1.086 GB, free: 52.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/1.037, allocations: 21.17 kB / 1.086 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/1.039, allocations: 0.9621 MB / 1.087 GB, free: 51.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.039, allocations: 8 kB / 1.087 GB, free: 51.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/1.042, allocations: 1.287 MB / 1.088 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/1.043, allocations: 288.4 kB / 1.089 GB, free: 50.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/1.044, allocations: 14.5 kB / 1.089 GB, free: 50.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.045, allocations: 116.2 kB / 1.089 GB, free: 50.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.045, allocations: 37.94 kB / 1.089 GB, free: 50.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/1.045, allocations: 26.19 kB / 1.089 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001393/1.046, allocations: 0.7451 MB / 1.09 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.046, allocations: 0 / 1.09 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002263/1.049, allocations: 0.5601 MB / 1.09 GB, free: 50.16 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/1.05, allocations: 388.4 kB / 1.091 GB, free: 49.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.053, allocations: 1.203 MB / 1.092 GB, free: 49.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.053, allocations: 4.25 kB / 1.092 GB, free: 49.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/1.054, allocations: 384.5 kB / 1.092 GB, free: 49.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.057, allocations: 0.5236 MB / 1.093 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/1.063, allocations: 2.519 MB / 1.095 GB, free: 48.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/1.064, allocations: 1.072 MB / 1.096 GB, free: 47.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001293/1.065, allocations: 229.4 kB / 1.096 GB, free: 47.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/1.065, allocations: 84.27 kB / 1.096 GB, free: 47.32 MB / 0.7448 GB Notification: Performance of SimCode: time 1.503e-06/1.065, allocations: 0 / 1.096 GB, free: 47.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.04072/1.106, allocations: 24.14 MB / 1.12 GB, free: 45.37 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)