Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001434/0.001434, allocations: 173.6 kB / 371 MB, free: 10.86 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.254/2.254, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009566/0.0009564, allocations: 82.06 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005042, allocations: 16.03 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2697, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.08355/0.3533, allocations: 56.52 MB / 1.034 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.3771, allocations: 11.13 MB / 1.044 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.3794, allocations: 51.62 kB / 1.044 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.3819, allocations: 464.9 kB / 1.045 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.3887, allocations: 1.52 MB / 1.046 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.3929, allocations: 0.8774 MB / 1.047 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006612/0.3996, allocations: 3.398 MB / 1.051 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.4018, allocations: 0.7821 MB / 1.051 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.4056, allocations: 1.046 MB / 1.052 GB, free: 368 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.408, allocations: 0.8127 MB / 1.053 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.4084, allocations: 44 kB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.4126, allocations: 1.111 MB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.4132, allocations: 203 kB / 1.054 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007003/0.414, allocations: 289 kB / 1.055 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.418, allocations: 1.641 MB / 1.056 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4181, allocations: 4 kB / 1.056 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4181, allocations: 0 / 1.056 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.4181, allocations: 0 / 1.056 GB, free: 12.25 MB / 0.6823 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.004718/0.4229, allocations: 1.517 MB / 1.058 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4229, allocations: 12.03 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.426, allocations: 382 kB / 1.058 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.4297, allocations: 1.09 MB / 1.059 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006689/0.4304, allocations: 125.9 kB / 1.059 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.4306, allocations: 84 kB / 1.059 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.4339, allocations: 0.9605 MB / 1.06 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.434, allocations: 3.938 kB / 1.06 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.4341, allocations: 32 kB / 1.06 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.4341, allocations: 23.98 kB / 1.06 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.4381, allocations: 0.8548 MB / 1.061 GB, free: 7.027 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.01083/0.449, allocations: 4.521 MB / 1.066 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.4521, allocations: 0.6378 MB / 1.066 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.4533, allocations: 302 kB / 1.067 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6512/1.105, allocations: 1.386 MB / 1.068 GB, free: 90.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.105, allocations: 41.22 kB / 1.068 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.769e-06/1.105, allocations: 0 / 1.068 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01669/1.121, allocations: 1.885 MB / 1.07 GB, free: 90.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.121, allocations: 56.38 kB / 1.07 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/1.124, allocations: 1.053 MB / 1.071 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/1.125, allocations: 38.08 kB / 1.071 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/1.125, allocations: 0.5276 MB / 1.071 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/1.125, allocations: 160 kB / 1.072 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/1.125, allocations: 16.22 kB / 1.072 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/1.126, allocations: 330 kB / 1.072 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/1.127, allocations: 297.2 kB / 1.072 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/1.129, allocations: 498.3 kB / 1.073 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/1.131, allocations: 333.7 kB / 1.073 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.131, allocations: 1 kB / 1.073 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004865/1.135, allocations: 0.9943 MB / 1.074 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.136, allocations: 192.1 kB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.136, allocations: 4.016 kB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/1.138, allocations: 331.9 kB / 1.075 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.139, allocations: 124.1 kB / 1.075 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/1.142, allocations: 0.9438 MB / 1.076 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.144, allocations: 187 kB / 1.076 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/1.144, allocations: 28.94 kB / 1.076 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.144, allocations: 4.438 kB / 1.076 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004397/1.149, allocations: 0.8671 MB / 1.077 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.149, allocations: 8.594 kB / 1.077 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/1.151, allocations: 317.2 kB / 1.077 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.152, allocations: 121.5 kB / 1.077 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/1.154, allocations: 0.938 MB / 1.078 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.157, allocations: 156.6 kB / 1.078 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.157, allocations: 31.73 kB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0007651/1.158, allocations: 353.6 kB / 1.078 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/1.158, allocations: 112.8 kB / 1.079 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/1.164, allocations: 1.12 MB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.164, allocations: 7.344 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.164, allocations: 0 / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.164, allocations: 4 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009088/1.173, allocations: 2.218 MB / 1.082 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.173, allocations: 2.719 kB / 1.082 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/1.173, allocations: 64.44 kB / 1.082 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/1.175, allocations: 325.1 kB / 1.082 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/1.176, allocations: 16.84 kB / 1.082 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/1.178, allocations: 0.9732 MB / 1.083 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.178, allocations: 3.453 kB / 1.083 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/1.185, allocations: 1.241 MB / 1.084 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/1.185, allocations: 279.1 kB / 1.085 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/1.186, allocations: 13.89 kB / 1.085 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.187, allocations: 103.7 kB / 1.085 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.188, allocations: 41.73 kB / 1.085 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.419e-05/1.188, allocations: 28.84 kB / 1.085 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003005/1.191, allocations: 0.7349 MB / 1.086 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.32e-07/1.191, allocations: 1.188 kB / 1.086 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004443/1.195, allocations: 0.5682 MB / 1.086 GB, free: 82.94 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.002004/1.197, allocations: 387.1 kB / 1.087 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008362/1.206, allocations: 1.1 MB / 1.088 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/1.206, allocations: 0.9688 kB / 1.088 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/1.207, allocations: 351 kB / 1.088 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.212, allocations: 0.5287 MB / 1.088 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/1.218, allocations: 2.232 MB / 1.091 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008477/1.219, allocations: 1.062 MB / 1.092 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001826/1.221, allocations: 230.2 kB / 1.092 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.221, allocations: 79.08 kB / 1.092 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of SimCode: time 2.886e-06/1.221, allocations: 0 / 1.092 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.06438/1.286, allocations: 23.75 MB / 1.115 GB, free: 70.43 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)