Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 184.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4559/0.4559, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 342.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 84.88 kB / 415.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.616e-06, allocations: 4 kB / 493.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3809, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6816/1.062, allocations: 376.4 MB / 0.9204 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.063, allocations: 87.95 kB / 0.9205 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.012/4.075, allocations: 0.8536 GB / 1.774 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001509/4.076, allocations: 41.45 kB / 1.774 GB, free: 84.78 MB / 0.6198 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.003828/4.079, allocations: 1.724 MB / 1.776 GB, free: 83.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/4.079, allocations: 9.438 kB / 1.776 GB, free: 83.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/4.08, allocations: 250.1 kB / 1.776 GB, free: 83.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/4.084, allocations: 1.715 MB / 1.778 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/4.084, allocations: 31.47 kB / 1.778 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/4.084, allocations: 62.66 kB / 1.778 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/4.085, allocations: 0.7057 MB / 1.778 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/4.087, allocations: 0.8847 MB / 1.779 GB, free: 83.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/4.087, allocations: 3.25 kB / 1.779 GB, free: 83.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/4.087, allocations: 2.062 kB / 1.779 GB, free: 83.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/4.087, allocations: 40.8 kB / 1.779 GB, free: 83.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006952/4.094, allocations: 5.105 MB / 1.784 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/4.095, allocations: 471.5 kB / 1.785 GB, free: 81.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/4.095, allocations: 258.7 kB / 1.785 GB, free: 81.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/4.096, allocations: 0.8274 MB / 1.786 GB, free: 80.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/4.096, allocations: 43 kB / 1.786 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.637e-06/4.096, allocations: 0 / 1.786 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001728/4.098, allocations: 0.6067 MB / 1.787 GB, free: 80 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/4.098, allocations: 55.69 kB / 1.787 GB, free: 79.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/4.099, allocations: 0.8921 MB / 1.787 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/4.099, allocations: 26.36 kB / 1.787 GB, free: 79.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/4.099, allocations: 443.1 kB / 1.788 GB, free: 79.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/4.1, allocations: 202.5 kB / 1.788 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/4.1, allocations: 3.5 kB / 1.788 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000109/4.1, allocations: 334.2 kB / 1.788 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/4.1, allocations: 195.9 kB / 1.789 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/4.101, allocations: 415 kB / 1.789 GB, free: 78.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/4.101, allocations: 288.8 kB / 1.789 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/4.101, allocations: 0 / 1.789 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004336/4.106, allocations: 1.19 MB / 1.79 GB, free: 78.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/4.106, allocations: 1.323 MB / 1.792 GB, free: 77.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/4.106, allocations: 10.34 kB / 1.792 GB, free: 77.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/4.107, allocations: 127 kB / 1.792 GB, free: 77.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/4.107, allocations: 158.9 kB / 1.792 GB, free: 77.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/4.108, allocations: 0.7091 MB / 1.793 GB, free: 76.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/4.109, allocations: 127 kB / 1.793 GB, free: 76.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/4.109, allocations: 37.48 kB / 1.793 GB, free: 76.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/4.109, allocations: 6.5 kB / 1.793 GB, free: 76.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00415/4.113, allocations: 1.034 MB / 1.794 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/4.113, allocations: 3.781 kB / 1.794 GB, free: 76.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/4.114, allocations: 133.8 kB / 1.794 GB, free: 76.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/4.115, allocations: 158.9 kB / 1.794 GB, free: 76.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007677/4.115, allocations: 0.7035 MB / 1.795 GB, free: 76.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/4.117, allocations: 119.5 kB / 1.795 GB, free: 76.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/4.117, allocations: 31.17 kB / 1.795 GB, free: 76.21 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002896/4.117, allocations: 128.2 kB / 1.795 GB, free: 76.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/4.117, allocations: 125.9 kB / 1.795 GB, free: 76.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/4.119, allocations: 0.7423 MB / 1.796 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/4.119, allocations: 6.094 kB / 1.796 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/4.119, allocations: 0 / 1.796 GB, free: 75.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/4.12, allocations: 0.6486 MB / 1.797 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006335/4.126, allocations: 2.389 MB / 1.799 GB, free: 74.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/4.126, allocations: 3.25 kB / 1.799 GB, free: 74.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/4.127, allocations: 125.3 kB / 1.799 GB, free: 74.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/4.128, allocations: 130.1 kB / 1.799 GB, free: 74.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/4.128, allocations: 15.27 kB / 1.799 GB, free: 74.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/4.128, allocations: 0.6859 MB / 1.8 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/4.128, allocations: 5.625 kB / 1.8 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004881/4.133, allocations: 1.777 MB / 1.802 GB, free: 73.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/4.134, allocations: 308.6 kB / 1.802 GB, free: 72.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/4.134, allocations: 3.969 kB / 1.802 GB, free: 72.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/4.135, allocations: 71.27 kB / 1.802 GB, free: 72.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/4.135, allocations: 49.34 kB / 1.802 GB, free: 72.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/4.135, allocations: 30.97 kB / 1.802 GB, free: 72.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001021/4.136, allocations: 0.6775 MB / 1.803 GB, free: 72.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002416/4.139, allocations: 0.7794 MB / 1.803 GB, free: 72.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/4.14, allocations: 0.7485 MB / 1.804 GB, free: 72.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001735/4.142, allocations: 0.9168 MB / 1.805 GB, free: 71.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/4.142, allocations: 3.781 kB / 1.805 GB, free: 71.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/4.142, allocations: 313.4 kB / 1.805 GB, free: 71.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/4.145, allocations: 0.542 MB / 1.806 GB, free: 71.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/4.149, allocations: 1.738 MB / 1.808 GB, free: 70.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/4.15, allocations: 1.307 MB / 1.809 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/4.15, allocations: 0 / 1.809 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.05006/4.2, allocations: 30.22 MB / 1.838 GB, free: 49.82 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)