Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001435/0.001435, allocations: 183.2 kB / 372.9 MB, free: 10.12 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.654/1.654, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.000748/0.000748, allocations: 86.34 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 15.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2233, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06133/0.2847, allocations: 69.42 MB / 1.049 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.3026, allocations: 11.84 MB / 1.06 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.3049, allocations: 59.62 kB / 1.06 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.3068, allocations: 0.5588 MB / 1.061 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.3123, allocations: 2.011 MB / 1.063 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.3152, allocations: 1.001 MB / 1.064 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005771/0.321, allocations: 4.796 MB / 1.068 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.3233, allocations: 1.132 MB / 1.069 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5126/0.8359, allocations: 1.29 MB / 1.071 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.8394, allocations: 1.062 MB / 1.072 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007774/0.8402, allocations: 58.66 kB / 1.072 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.845, allocations: 1.179 MB / 1.073 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006912/0.8457, allocations: 273.3 kB / 1.073 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.8474, allocations: 0.7653 MB / 1.074 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.8519, allocations: 2.146 MB / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.8519, allocations: 1.375 kB / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8519, allocations: 2.906 kB / 1.076 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.936e-05/0.852, allocations: 0 / 1.076 GB, free: 34.45 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.004331/0.8563, allocations: 1.782 MB / 1.078 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.8564, allocations: 11.34 kB / 1.078 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.8572, allocations: 235.4 kB / 1.078 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.86, allocations: 1.478 MB / 1.079 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.8601, allocations: 77.12 kB / 1.08 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.8603, allocations: 100.4 kB / 1.08 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.8628, allocations: 1.112 MB / 1.081 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.8628, allocations: 4.531 kB / 1.081 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/0.8629, allocations: 44.59 kB / 1.081 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.863, allocations: 25.92 kB / 1.081 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.8651, allocations: 0.9207 MB / 1.082 GB, free: 32.82 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.006672/0.8717, allocations: 4.915 MB / 1.086 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.8734, allocations: 0.6395 MB / 1.087 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.8743, allocations: 365.5 kB / 1.087 GB, free: 30.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/0.8748, allocations: 0.8344 MB / 1.088 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8748, allocations: 39.66 kB / 1.088 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.627e-06/0.8748, allocations: 3.75 kB / 1.088 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007904/0.8827, allocations: 1.882 MB / 1.09 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.8828, allocations: 62.41 kB / 1.09 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.8851, allocations: 1.194 MB / 1.091 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.8853, allocations: 45.39 kB / 1.091 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.8859, allocations: 0.6 MB / 1.092 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.8862, allocations: 208.1 kB / 1.092 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.8862, allocations: 14.47 kB / 1.092 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.8863, allocations: 333.2 kB / 1.093 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.887, allocations: 294.8 kB / 1.093 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.8879, allocations: 0.5005 MB / 1.093 GB, free: 28.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.8893, allocations: 0.7425 MB / 1.094 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.8893, allocations: 1.438 kB / 1.094 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005047/0.8944, allocations: 1.395 MB / 1.095 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.8945, allocations: 198.8 kB / 1.096 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8945, allocations: 3.312 kB / 1.096 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.8952, allocations: 147.8 kB / 1.096 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.8958, allocations: 170.6 kB / 1.096 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007381/0.8966, allocations: 0.7032 MB / 1.097 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8983, allocations: 173.7 kB / 1.097 GB, free: 27.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.8984, allocations: 33.56 kB / 1.097 GB, free: 27.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8984, allocations: 3.906 kB / 1.097 GB, free: 27.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004532/0.9029, allocations: 1.249 MB / 1.098 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.903, allocations: 5.234 kB / 1.098 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.9035, allocations: 147.3 kB / 1.098 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.9041, allocations: 165.2 kB / 1.098 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/0.9049, allocations: 0.7032 MB / 1.099 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.9066, allocations: 162.9 kB / 1.099 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.9067, allocations: 32.92 kB / 1.099 GB, free: 26.44 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.0009972/0.9077, allocations: 421.1 kB / 1.1 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.908, allocations: 136 kB / 1.1 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/0.9133, allocations: 1.388 MB / 1.101 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004426/0.9177, allocations: 1.231 MB / 1.102 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.9178, allocations: 7.938 kB / 1.102 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.919, allocations: 328.4 kB / 1.103 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.9192, allocations: 13.44 kB / 1.103 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.92, allocations: 87.08 kB / 1.103 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.9202, allocations: 49.94 kB / 1.103 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002894/0.9231, allocations: 1.04 MB / 1.104 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002465/0.9256, allocations: 1.385 MB / 1.105 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006425/0.9262, allocations: 344.8 kB / 1.105 GB, free: 25.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001328/0.9276, allocations: 0.8294 MB / 1.106 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of Backend: time 8.92e-07/0.9276, allocations: 3.25 kB / 1.106 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004494/0.9321, allocations: 1.4 MB / 1.108 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007181/0.9393, allocations: 3.577 MB / 1.111 GB, free: 23.06 MB / 0.6823 GB Notification: Performance of Templates: time 0.05518/0.9945, allocations: 31.33 MB / 1.142 GB, free: 9.074 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)