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.001732/0.001732, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00197/0.00197, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 286.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5069 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002813, allocations: 94.84 kB / 0.6059 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.168, allocations: 89.15 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.3714/0.5395, allocations: 74.48 MB / 0.7657 GB, free: 30.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.557, allocations: 12.66 MB / 0.7781 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.5597, allocations: 62.09 kB / 0.7781 GB, free: 29.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.5619, allocations: 0.7151 MB / 0.7788 GB, free: 29.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.5702, allocations: 2.299 MB / 0.7811 GB, free: 29.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.5747, allocations: 1.277 MB / 0.7823 GB, free: 29.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007421/0.5821, allocations: 4.422 MB / 0.7866 GB, free: 27.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.5849, allocations: 1.439 MB / 0.788 GB, free: 26.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.5895, allocations: 1.631 MB / 0.7896 GB, free: 26.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.5923, allocations: 1.234 MB / 0.7908 GB, free: 25.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007596/0.5931, allocations: 166.4 kB / 0.791 GB, free: 25.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.5973, allocations: 1.417 MB / 0.7924 GB, free: 25.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008056/0.5982, allocations: 404.2 kB / 0.7928 GB, free: 25.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.6003, allocations: 0.9053 MB / 0.7936 GB, free: 24.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.6059, allocations: 2.844 MB / 0.7964 GB, free: 23.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6059, allocations: 0 / 0.7964 GB, free: 23.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6059, allocations: 0 / 0.7964 GB, free: 23.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.121e-05/0.606, allocations: 1.719 kB / 0.7964 GB, free: 23.58 MB / 0.545 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.005132/0.6112, allocations: 2.077 MB / 0.7985 GB, free: 22.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6112, allocations: 15.83 kB / 0.7985 GB, free: 22.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6125, allocations: 227.2 kB / 0.7987 GB, free: 22.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.6154, allocations: 1.491 MB / 0.8001 GB, free: 21.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.6154, allocations: 79.77 kB / 0.8002 GB, free: 21.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.6157, allocations: 100.5 kB / 0.8003 GB, free: 21.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.6179, allocations: 1.1 MB / 0.8014 GB, free: 20.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.618, allocations: 1.406 kB / 0.8014 GB, free: 20.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6181, allocations: 37.12 kB / 0.8014 GB, free: 20.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.6181, allocations: 34 kB / 0.8015 GB, free: 20.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.6201, allocations: 0.8837 MB / 0.8023 GB, free: 20.36 MB / 0.545 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.006065/0.6262, allocations: 4.905 MB / 0.8071 GB, free: 16.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6275, allocations: 0.6188 MB / 0.8077 GB, free: 16.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.6282, allocations: 357.9 kB / 0.8081 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/0.6287, allocations: 0.8202 MB / 0.8089 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6287, allocations: 50.39 kB / 0.8089 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.385e-06/0.6287, allocations: 0 / 0.8089 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.00726/0.636, allocations: 1.679 MB / 0.8105 GB, free: 14.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.6361, allocations: 57.41 kB / 0.8106 GB, free: 14.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.638, allocations: 1.205 MB / 0.8118 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.6382, allocations: 42.33 kB / 0.8118 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.6386, allocations: 0.6071 MB / 0.8124 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.6389, allocations: 215.4 kB / 0.8126 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.6392, allocations: 156.5 kB / 0.8128 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.6393, allocations: 336.1 kB / 0.8131 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.6399, allocations: 287.2 kB / 0.8134 GB, free: 12.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.6408, allocations: 491.8 kB / 0.8138 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.6421, allocations: 0.7136 MB / 0.8145 GB, free: 11.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6421, allocations: 0 / 0.8145 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004719/0.6469, allocations: 1.276 MB / 0.8158 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.6469, allocations: 9.062 kB / 0.8158 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6469, allocations: 2.938 kB / 0.8158 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/0.6475, allocations: 137.2 kB / 0.8159 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.6482, allocations: 154.8 kB / 0.8161 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007005/0.6489, allocations: 0.6954 MB / 0.8167 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6504, allocations: 158.3 kB / 0.8169 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6505, allocations: 39.8 kB / 0.8169 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.6516, allocations: 0.5548 MB / 0.8175 GB, free: 9.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007546/0.6524, allocations: 492.1 kB / 0.8179 GB, free: 9.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00128/0.6537, allocations: 0.7072 MB / 0.8186 GB, free: 8.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.6537, allocations: 1.172 kB / 0.8186 GB, free: 8.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00455/0.6582, allocations: 1.258 MB / 0.8199 GB, free: 8.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6583, allocations: 11.97 kB / 0.8199 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6583, allocations: 2.812 kB / 0.8199 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.6588, allocations: 141.6 kB / 0.82 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.6594, allocations: 157.2 kB / 0.8202 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/0.6601, allocations: 0.695 MB / 0.8208 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6616, allocations: 135.9 kB / 0.821 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/0.6617, allocations: 33.86 kB / 0.821 GB, free: 7.273 MB / 0.545 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.0002877/0.662, allocations: 226.3 kB / 0.8212 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/0.6625, allocations: 131.2 kB / 0.8213 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/0.6669, allocations: 1.269 MB / 0.8226 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.667, allocations: 10.88 kB / 0.8226 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.667, allocations: 4 kB / 0.8226 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/0.6709, allocations: 1.1 MB / 0.8237 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006771/0.6776, allocations: 2.598 MB / 0.8262 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.6777, allocations: 3.438 kB / 0.8262 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.6782, allocations: 115.7 kB / 0.8263 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.6787, allocations: 138.6 kB / 0.8265 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.6788, allocations: 16.03 kB / 0.8265 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.6832, allocations: 2.582 MB / 0.829 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6832, allocations: 7.734 kB / 0.829 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.6885, allocations: 1.702 MB / 0.8307 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.6895, allocations: 301.2 kB / 0.8309 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/0.69, allocations: 15.41 kB / 0.831 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.6913, allocations: 90.41 kB / 0.831 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6914, allocations: 65.23 kB / 0.8311 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.6915, allocations: 28.05 kB / 0.8311 GB, free: 196 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001629/0.6932, allocations: 0.8721 MB / 0.832 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6932, allocations: 0 / 0.832 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002812/0.696, allocations: 0.7135 MB / 0.8327 GB, free: 14.82 MB / 0.5606 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.001185/0.6972, allocations: 440.3 kB / 0.8331 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00327/0.7005, allocations: 1.161 MB / 0.8342 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7005, allocations: 0 / 0.8342 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.7022, allocations: 0.5603 MB / 0.8348 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/0.7067, allocations: 0.81 MB / 0.8356 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.7123, allocations: 2.748 MB / 0.8383 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.7135, allocations: 1.168 MB / 0.8394 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001676/0.7152, allocations: 307 kB / 0.8397 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.7156, allocations: 111.4 kB / 0.8398 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.7156, allocations: 0 / 0.8398 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of Templates: time 0.0601/0.7757, allocations: 31.53 MB / 0.8706 GB, free: 8.426 MB / 0.5919 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)