Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.726/1.726, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.001032/0.001032, allocations: 185.6 kB / 371.8 MB, free: 10.81 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.706/1.706, allocations: 205.4 MB / 0.6305 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.0008832/0.0008831, allocations: 92.8 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 10.47 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06455/0.3138, allocations: 69.41 MB / 1.047 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.3322, allocations: 11.84 MB / 1.059 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.3355, allocations: 59.62 kB / 1.059 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.3384, allocations: 0.5627 MB / 1.059 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.3465, allocations: 1.879 MB / 1.061 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.3505, allocations: 0.9733 MB / 1.062 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00728/0.3578, allocations: 4.805 MB / 1.067 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.3604, allocations: 1.128 MB / 1.068 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.3639, allocations: 1.264 MB / 1.069 GB, free: 20 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5016/0.8655, allocations: 1.056 MB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005283/0.8661, allocations: 57.75 kB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.8708, allocations: 0.9212 MB / 1.071 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006532/0.8715, allocations: 270.8 kB / 1.071 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.8727, allocations: 357.9 kB / 1.072 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.8779, allocations: 2.076 MB / 1.074 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.878, allocations: 0 / 1.074 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.878, allocations: 1.844 kB / 1.074 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.43e-05/0.878, allocations: 0 / 1.074 GB, free: 34.24 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005761/0.8838, allocations: 1.782 MB / 1.075 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.8839, allocations: 9.281 kB / 1.075 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.8853, allocations: 239.2 kB / 1.076 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.8892, allocations: 1.477 MB / 1.077 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.8894, allocations: 79.61 kB / 1.077 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.8896, allocations: 106.2 kB / 1.077 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.8924, allocations: 1.113 MB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.8925, allocations: 0.7812 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8926, allocations: 39.53 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.8926, allocations: 25.67 kB / 1.078 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.8951, allocations: 0.921 MB / 1.079 GB, free: 32.62 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.008031/0.9031, allocations: 4.919 MB / 1.084 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9047, allocations: 0.6383 MB / 1.085 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/0.9055, allocations: 366.8 kB / 1.085 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/0.906, allocations: 0.8349 MB / 1.086 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.9061, allocations: 41.59 kB / 1.086 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/0.9061, allocations: 7.281 kB / 1.086 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007665/0.9138, allocations: 1.879 MB / 1.088 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.9138, allocations: 58.84 kB / 1.088 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.9162, allocations: 1.196 MB / 1.089 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.9163, allocations: 39.83 kB / 1.089 GB, free: 28.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.9169, allocations: 0.5986 MB / 1.09 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.9171, allocations: 213.2 kB / 1.09 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.9172, allocations: 12.81 kB / 1.09 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.9172, allocations: 340.5 kB / 1.09 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.9179, allocations: 291.8 kB / 1.09 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.9188, allocations: 0.5031 MB / 1.091 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.9202, allocations: 0.7424 MB / 1.092 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9202, allocations: 1.312 kB / 1.092 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004844/0.925, allocations: 1.392 MB / 1.093 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.9252, allocations: 198.2 kB / 1.093 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9252, allocations: 3.969 kB / 1.093 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.9258, allocations: 146.5 kB / 1.093 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.9265, allocations: 165.8 kB / 1.093 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007812/0.9273, allocations: 0.7079 MB / 1.094 GB, free: 26.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.929, allocations: 177.4 kB / 1.094 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.9291, allocations: 29.58 kB / 1.094 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.9292, allocations: 4.875 kB / 1.094 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004604/0.9338, allocations: 1.256 MB / 1.096 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.9338, allocations: 3 kB / 1.096 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.9344, allocations: 139.6 kB / 1.096 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.9351, allocations: 170.6 kB / 1.096 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/0.9358, allocations: 0.7068 MB / 1.097 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.9374, allocations: 161.8 kB / 1.097 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.9375, allocations: 33.22 kB / 1.097 GB, free: 26.24 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009303/0.9385, allocations: 418.3 kB / 1.097 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.9389, allocations: 135.5 kB / 1.097 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/0.944, allocations: 1.392 MB / 1.099 GB, free: 25.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004142/0.9481, allocations: 1.229 MB / 1.1 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9482, allocations: 3.344 kB / 1.1 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9492, allocations: 326 kB / 1.1 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.9497, allocations: 11.41 kB / 1.1 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.9509, allocations: 96.08 kB / 1.1 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.951, allocations: 48.36 kB / 1.1 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002696/0.9537, allocations: 1.032 MB / 1.101 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002527/0.9562, allocations: 1.392 MB / 1.103 GB, free: 24.97 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006834/0.9569, allocations: 342.4 kB / 1.103 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001567/0.9585, allocations: 0.8335 MB / 1.104 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of Backend: time 4.31e-07/0.9585, allocations: 0 / 1.104 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.9629, allocations: 1.388 MB / 1.105 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007219/0.9702, allocations: 3.575 MB / 1.109 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.0568/1.027, allocations: 30.98 MB / 1.139 GB, free: 10.34 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)