Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.925/2.925, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001606/0.001606, allocations: 184.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002431/0.002429, allocations: 93.56 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.0005445, allocations: 15.55 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2697, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.09902/0.3687, allocations: 51.31 MB / 1.028 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03044/0.3993, allocations: 10.22 MB / 1.038 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.402, allocations: 47.62 kB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.4061, allocations: 0.6296 MB / 1.039 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.4176, allocations: 1.897 MB / 1.041 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008041/0.4257, allocations: 1.333 MB / 1.042 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007173/0.4329, allocations: 1.847 MB / 1.044 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.4362, allocations: 0.7979 MB / 1.045 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004774/0.441, allocations: 0.9964 MB / 1.046 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.4435, allocations: 0.6027 MB / 1.046 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005356/0.4441, allocations: 48 kB / 1.046 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.4491, allocations: 0.9946 MB / 1.047 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.4499, allocations: 195.1 kB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.4509, allocations: 285.1 kB / 1.048 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.456, allocations: 1.594 MB / 1.049 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.456, allocations: 0 / 1.049 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.078e-06/0.4561, allocations: 0 / 1.049 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.43e-05/0.4562, allocations: 0 / 1.049 GB, free: 3.453 MB / 0.6667 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.006182/0.4623, allocations: 1.493 MB / 1.051 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.4624, allocations: 12.03 kB / 1.051 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.4673, allocations: 465.9 kB / 1.051 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.4719, allocations: 1.063 MB / 1.052 GB, free: 320 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008092/0.4727, allocations: 129.9 kB / 1.052 GB, free: 192 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.4732, allocations: 84 kB / 1.052 GB, free: 108 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.478, allocations: 0.9917 MB / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.4781, allocations: 0 / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.4783, allocations: 32 kB / 1.053 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.4784, allocations: 23.94 kB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0057/0.4841, allocations: 0.9173 MB / 1.054 GB, free: 14.11 MB / 0.6823 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.01519/0.4993, allocations: 4.641 MB / 1.059 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/0.5075, allocations: 0.946 MB / 1.06 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.5088, allocations: 0.9107 MB / 1.061 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.5089, allocations: 39 kB / 1.061 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.318e-06/0.5089, allocations: 0 / 1.061 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01866/0.5276, allocations: 1.987 MB / 1.063 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.5278, allocations: 63.78 kB / 1.063 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.533, allocations: 1.067 MB / 1.064 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.5333, allocations: 37.7 kB / 1.064 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.5349, allocations: 0.5235 MB / 1.064 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.5354, allocations: 161.6 kB / 1.064 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.5356, allocations: 16 kB / 1.064 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.5358, allocations: 326 kB / 1.065 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.5377, allocations: 332.9 kB / 1.065 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.5399, allocations: 0.5248 MB / 1.066 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.5418, allocations: 364.6 kB / 1.066 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5419, allocations: 11.88 kB / 1.066 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007077/0.549, allocations: 1.217 MB / 1.067 GB, free: 280 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6306/1.18, allocations: 1.488 MB / 1.069 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.18, allocations: 4.641 kB / 1.069 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/1.182, allocations: 334.2 kB / 1.069 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.183, allocations: 131.3 kB / 1.069 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/1.186, allocations: 0.9463 MB / 1.07 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/1.189, allocations: 191.4 kB / 1.07 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.189, allocations: 31.2 kB / 1.07 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.189, allocations: 3.812 kB / 1.07 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006716/1.196, allocations: 1.091 MB / 1.071 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/1.196, allocations: 4.938 kB / 1.071 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/1.198, allocations: 324.3 kB / 1.072 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.199, allocations: 137 kB / 1.072 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/1.202, allocations: 0.9366 MB / 1.073 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.205, allocations: 171.4 kB / 1.073 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.205, allocations: 29.67 kB / 1.073 GB, free: 87.81 MB / 0.6823 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.0008312/1.206, allocations: 360.5 kB / 1.073 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/1.206, allocations: 110 kB / 1.073 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/1.211, allocations: 1.033 MB / 1.074 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.211, allocations: 12.89 kB / 1.074 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.211, allocations: 0 / 1.074 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.211, allocations: 3.469 kB / 1.074 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.223, allocations: 2.477 MB / 1.077 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/1.223, allocations: 4.75 kB / 1.077 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/1.224, allocations: 77.94 kB / 1.077 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/1.226, allocations: 320.5 kB / 1.077 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.226, allocations: 16.47 kB / 1.077 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/1.229, allocations: 0.9721 MB / 1.078 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.229, allocations: 10.48 kB / 1.078 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/1.236, allocations: 1.406 MB / 1.079 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/1.237, allocations: 290.3 kB / 1.08 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.237, allocations: 14.19 kB / 1.08 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/1.239, allocations: 112.8 kB / 1.08 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.24, allocations: 37.69 kB / 1.08 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.24, allocations: 24.66 kB / 1.08 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00235/1.242, allocations: 0.7504 MB / 1.081 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/1.242, allocations: 0.75 kB / 1.081 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002946/1.245, allocations: 0.5634 MB / 1.081 GB, free: 84.06 MB / 0.6823 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.001245/1.246, allocations: 386.2 kB / 1.082 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006416/1.253, allocations: 1.2 MB / 1.083 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.253, allocations: 1.875 kB / 1.083 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.255, allocations: 392.1 kB / 1.083 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.26, allocations: 0.5184 MB / 1.084 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009915/1.27, allocations: 2.514 MB / 1.086 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008448/1.271, allocations: 1.089 MB / 1.087 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002021/1.273, allocations: 224.3 kB / 1.087 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/1.273, allocations: 88.34 kB / 1.087 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.273, allocations: 0 / 1.087 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of Templates: time 0.07489/1.348, allocations: 23.82 MB / 1.111 GB, free: 72.13 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)