Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 295.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5204, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.07153/0.592, allocations: 75.13 MB / 0.8404 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.6096, allocations: 12.75 MB / 0.8529 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.6127, allocations: 63.62 kB / 0.8529 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.6152, allocations: 0.8307 MB / 0.8537 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.6222, allocations: 2.467 MB / 0.8561 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.6256, allocations: 1.394 MB / 0.8575 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006004/0.6317, allocations: 4.385 MB / 0.8618 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.6338, allocations: 1.445 MB / 0.8632 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6377, allocations: 1.655 MB / 0.8648 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.6398, allocations: 1.196 MB / 0.866 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.6403, allocations: 164 kB / 0.8661 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.6436, allocations: 1.404 MB / 0.8675 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.6443, allocations: 402.6 kB / 0.8679 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.6456, allocations: 0.9021 MB / 0.8688 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.6498, allocations: 2.873 MB / 0.8716 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6498, allocations: 0 / 0.8716 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6498, allocations: 0 / 0.8716 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.6498, allocations: 0 / 0.8716 GB, free: 8.527 MB / 0.6387 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.003447/0.6533, allocations: 2.079 MB / 0.8736 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6533, allocations: 8.031 kB / 0.8736 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.6541, allocations: 230.7 kB / 0.8738 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.6564, allocations: 1.524 MB / 0.8753 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.6564, allocations: 74 kB / 0.8754 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6566, allocations: 100 kB / 0.8755 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.6585, allocations: 1.104 MB / 0.8766 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.6585, allocations: 7.938 kB / 0.8766 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.6586, allocations: 40 kB / 0.8766 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.6587, allocations: 24 kB / 0.8766 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.6605, allocations: 0.8822 MB / 0.8775 GB, free: 2.301 MB / 0.6387 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.005519/0.666, allocations: 4.903 MB / 0.8823 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6674, allocations: 0.6236 MB / 0.8829 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.6681, allocations: 350.8 kB / 0.8832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.6687, allocations: 0.8238 MB / 0.884 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.6687, allocations: 39.12 kB / 0.8841 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.344e-06/0.6688, allocations: 4 kB / 0.8841 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007366/0.6761, allocations: 1.681 MB / 0.8857 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6762, allocations: 59.95 kB / 0.8858 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.6778, allocations: 1.233 MB / 0.887 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-05/0.6779, allocations: 41.64 kB / 0.887 GB, free: 8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.6784, allocations: 0.5987 MB / 0.8876 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.6786, allocations: 220.9 kB / 0.8878 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.6788, allocations: 150.6 kB / 0.888 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6789, allocations: 334 kB / 0.8883 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.6796, allocations: 292.7 kB / 0.8886 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.6805, allocations: 498.2 kB / 0.889 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.6819, allocations: 0.7128 MB / 0.8897 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6819, allocations: 4 kB / 0.8897 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00487/0.6868, allocations: 1.273 MB / 0.891 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6868, allocations: 8 kB / 0.891 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6868, allocations: 8 kB / 0.891 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.6874, allocations: 133.1 kB / 0.8911 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.6881, allocations: 167.7 kB / 0.8913 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.6889, allocations: 0.6889 MB / 0.8919 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6902, allocations: 122.9 kB / 0.8921 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.6903, allocations: 35.98 kB / 0.8921 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/0.6915, allocations: 0.5527 MB / 0.8926 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008552/0.6923, allocations: 487.8 kB / 0.8931 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/0.6938, allocations: 0.7012 MB / 0.8938 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.6938, allocations: 4 kB / 0.8938 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004948/0.6987, allocations: 1.265 MB / 0.895 GB, free: 15.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6988, allocations: 8 kB / 0.895 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6988, allocations: 4 kB / 0.895 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.6993, allocations: 133.1 kB / 0.8952 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.7, allocations: 163.8 kB / 0.8953 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008202/0.7008, allocations: 0.6928 MB / 0.896 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.702, allocations: 95.48 kB / 0.8961 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.7021, allocations: 35.98 kB / 0.8961 GB, free: 14.32 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.7024, allocations: 220.1 kB / 0.8963 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.7028, allocations: 138.3 kB / 0.8965 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/0.7076, allocations: 1.267 MB / 0.8977 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.7076, allocations: 12 kB / 0.8977 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7076, allocations: 3.938 kB / 0.8977 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004203/0.7119, allocations: 1.096 MB / 0.8988 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006868/0.7187, allocations: 2.61 MB / 0.9013 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7188, allocations: 8.422 kB / 0.9013 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.7193, allocations: 119.8 kB / 0.9015 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.7198, allocations: 124.7 kB / 0.9016 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.7199, allocations: 27.92 kB / 0.9016 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.7249, allocations: 2.591 MB / 0.9041 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7249, allocations: 7.938 kB / 0.9041 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/0.7305, allocations: 1.688 MB / 0.9058 GB, free: 4.023 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/0.7311, allocations: 311.2 kB / 0.9061 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.7315, allocations: 16 kB / 0.9061 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/0.7325, allocations: 59.98 kB / 0.9062 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7326, allocations: 60.23 kB / 0.9062 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.7327, allocations: 27.98 kB / 0.9062 GB, free: 3.539 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001331/0.734, allocations: 0.8816 MB / 0.9071 GB, free: 2.656 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.734, allocations: 0 / 0.9071 GB, free: 2.656 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00201/0.736, allocations: 0.7135 MB / 0.9078 GB, free: 1.941 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009408/0.737, allocations: 471 kB / 0.9083 GB, free: 1.484 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.7397, allocations: 1.121 MB / 0.9093 GB, free: 376 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7397, allocations: 4.188 kB / 0.9094 GB, free: 372 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.7413, allocations: 0.5601 MB / 0.9099 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/0.745, allocations: 0.7968 MB / 0.9107 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.749, allocations: 2.294 MB / 0.9129 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.7497, allocations: 1.172 MB / 0.9141 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.7501, allocations: 115.4 kB / 0.9142 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.7501, allocations: 0 / 0.9142 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.04403/0.7941, allocations: 31.26 MB / 0.9447 GB, free: 12.28 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)