Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.51/2.51, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 189.7 kB / 326.3 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.473/2.473, allocations: 205.4 MB / 0.5772 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009391/0.0009384, allocations: 81.56 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005047, allocations: 18.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2177, allocations: 106.3 MB / 0.8995 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.1028/0.3206, allocations: 69.4 MB / 0.9673 GB, free: 11.86 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.02702/0.3477, allocations: 11.8 MB / 0.9788 GB, free: 40 kB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.3504, allocations: 59.67 kB / 0.9789 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.3535, allocations: 0.5665 MB / 0.9794 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008288/0.3619, allocations: 1.871 MB / 0.9812 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.3666, allocations: 0.9429 MB / 0.9822 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009294/0.3759, allocations: 4.778 MB / 0.9868 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.3788, allocations: 1.08 MB / 0.9879 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.3831, allocations: 1.272 MB / 0.9891 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.3862, allocations: 1.058 MB / 0.9901 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.3868, allocations: 52 kB / 0.9902 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.391, allocations: 0.9276 MB / 0.9911 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.3919, allocations: 274.7 kB / 0.9914 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009371/0.3928, allocations: 349 kB / 0.9917 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.3976, allocations: 2.069 MB / 0.9937 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3977, allocations: 0 / 0.9937 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3977, allocations: 0 / 0.9937 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.084e-05/0.3978, allocations: 4 kB / 0.9937 GB, free: 0.6836 MB / 0.6355 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.005898/0.4037, allocations: 1.791 MB / 0.9955 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.4038, allocations: 8.031 kB / 0.9955 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.4053, allocations: 242.8 kB / 0.9957 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.4097, allocations: 1.42 MB / 0.9971 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4098, allocations: 78 kB / 0.9972 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.4101, allocations: 100 kB / 0.9973 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.4136, allocations: 1.112 MB / 0.9984 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.4137, allocations: 0 / 0.9984 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.4138, allocations: 40 kB / 0.9984 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.4139, allocations: 24 kB / 0.9984 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.4174, allocations: 0.929 MB / 0.9993 GB, free: 10.79 MB / 0.6511 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.01056/0.428, allocations: 4.911 MB / 1.004 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.4306, allocations: 0.6418 MB / 1.005 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.432, allocations: 368.4 kB / 1.005 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009099/0.4329, allocations: 0.8277 MB / 1.006 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.433, allocations: 43.12 kB / 1.006 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.329e-06/0.433, allocations: 0 / 1.006 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01367/0.4467, allocations: 1.877 MB / 1.008 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4468, allocations: 59.97 kB / 1.008 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.4494, allocations: 1.198 MB / 1.009 GB, free: 336 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.4497, allocations: 41.7 kB / 1.009 GB, free: 288 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.4505, allocations: 0.591 MB / 1.01 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.4509, allocations: 216.8 kB / 1.01 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.4509, allocations: 16 kB / 1.01 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4511, allocations: 333.9 kB / 1.01 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4524, allocations: 297.8 kB / 1.01 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.4539, allocations: 0.5009 MB / 1.011 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4554, allocations: 363 kB / 1.011 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4554, allocations: 4 kB / 1.011 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009067/0.4645, allocations: 1.39 MB / 1.013 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.4647, allocations: 194.2 kB / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4648, allocations: 4 kB / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4658, allocations: 148.7 kB / 1.013 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4672, allocations: 163.8 kB / 1.013 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4686, allocations: 0.7161 MB / 1.014 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.471, allocations: 167.1 kB / 1.014 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.4712, allocations: 35.98 kB / 1.014 GB, free: 11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4712, allocations: 5.406 kB / 1.014 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/0.4829, allocations: 1.245 MB / 1.015 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.483, allocations: 4.094 kB / 1.015 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.4844, allocations: 149 kB / 1.015 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.4865, allocations: 159.8 kB / 1.016 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.4886, allocations: 0.7161 MB / 1.016 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/0.4919, allocations: 159.2 kB / 1.016 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.4922, allocations: 31.98 kB / 1.016 GB, free: 8.504 MB / 0.6667 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.001412/0.4936, allocations: 420.9 kB / 1.017 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/0.4942, allocations: 130.4 kB / 1.017 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.5077, allocations: 1.404 MB / 1.018 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0124/0.5201, allocations: 1.236 MB / 1.02 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.5202, allocations: 0 / 1.02 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.5217, allocations: 315.2 kB / 1.02 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/0.5222, allocations: 16 kB / 1.02 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/0.5247, allocations: 95.75 kB / 1.02 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.525, allocations: 48.48 kB / 1.02 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007928/0.5329, allocations: 1.034 MB / 1.021 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00525/0.5382, allocations: 1.389 MB / 1.022 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00127/0.5395, allocations: 344.3 kB / 1.023 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001896/0.5414, allocations: 0.8338 MB / 1.023 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of Backend: time 1.122e-06/0.5415, allocations: 4 kB / 1.023 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005778/0.5473, allocations: 1.374 MB / 1.025 GB, free: 15.78 MB / 0.6824 GB Notification: Performance of SimCode: time 0.01042/0.5577, allocations: 3.586 MB / 1.028 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of Templates: time 0.6664/1.224, allocations: 30.68 MB / 1.058 GB, free: 150.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)