Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [: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.002095/0.002095, allocations: 180.8 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4599/0.4599, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.353/1.353, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.001005/0.001005, allocations: 95.08 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.198e-06/9.228e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6625/1.121, allocations: 387.5 MB / 0.9313 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.121, allocations: 92.28 kB / 0.9314 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.808/3.929, allocations: 0.7832 GB / 1.715 GB, free: 80.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001589/3.929, allocations: 40.64 kB / 1.715 GB, free: 80.57 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003383/3.932, allocations: 1.76 MB / 1.716 GB, free: 79.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/3.932, allocations: 13.28 kB / 1.716 GB, free: 79.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/3.935, allocations: 0.5126 MB / 1.717 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/3.939, allocations: 1.738 MB / 1.719 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/3.939, allocations: 119.7 kB / 1.719 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/3.939, allocations: 60.78 kB / 1.719 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001626/3.941, allocations: 0.8508 MB / 1.72 GB, free: 79.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/3.942, allocations: 1.04 MB / 1.721 GB, free: 79.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/3.942, allocations: 3.469 kB / 1.721 GB, free: 79.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/3.942, allocations: 2.844 kB / 1.721 GB, free: 79.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/3.942, allocations: 42.94 kB / 1.721 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007318/3.95, allocations: 7.095 MB / 1.728 GB, free: 75.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/3.95, allocations: 0.5284 MB / 1.728 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/3.951, allocations: 227.4 kB / 1.728 GB, free: 75.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/3.952, allocations: 1.571 MB / 1.73 GB, free: 73.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/3.952, allocations: 39.72 kB / 1.73 GB, free: 73.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/3.952, allocations: 3.688 kB / 1.73 GB, free: 73.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002315/3.954, allocations: 0.7979 MB / 1.731 GB, free: 73.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/3.954, allocations: 56.66 kB / 1.731 GB, free: 73.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/3.955, allocations: 0.9509 MB / 1.732 GB, free: 73.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/3.955, allocations: 25.7 kB / 1.732 GB, free: 73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/3.955, allocations: 0.4972 MB / 1.732 GB, free: 72.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/3.956, allocations: 165 kB / 1.732 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/3.956, allocations: 0 / 1.732 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/3.956, allocations: 330.5 kB / 1.733 GB, free: 72.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/3.956, allocations: 243.4 kB / 1.733 GB, free: 72.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/3.957, allocations: 0.5293 MB / 1.733 GB, free: 71.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/3.958, allocations: 0.5295 MB / 1.734 GB, free: 71.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/3.958, allocations: 0 / 1.734 GB, free: 71.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002515/3.961, allocations: 1.085 MB / 1.735 GB, free: 71.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/3.961, allocations: 5.656 kB / 1.735 GB, free: 71.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/3.961, allocations: 11.53 kB / 1.735 GB, free: 71.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007228/3.962, allocations: 230.1 kB / 1.735 GB, free: 71.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/3.962, allocations: 191.3 kB / 1.735 GB, free: 71.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006191/3.963, allocations: 0.7491 MB / 1.736 GB, free: 71.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/3.964, allocations: 218.2 kB / 1.736 GB, free: 71.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/3.965, allocations: 45.64 kB / 1.736 GB, free: 71.27 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/3.965, allocations: 128.3 kB / 1.736 GB, free: 71.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/3.965, allocations: 123.1 kB / 1.737 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/3.967, allocations: 1.135 MB / 1.738 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/3.967, allocations: 6 kB / 1.738 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.967, allocations: 0 / 1.738 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/3.967, allocations: 3.469 kB / 1.738 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/3.972, allocations: 2.377 MB / 1.74 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/3.972, allocations: 3.656 kB / 1.74 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/3.973, allocations: 89.42 kB / 1.74 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/3.973, allocations: 223.6 kB / 1.74 GB, free: 70.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/3.973, allocations: 7.766 kB / 1.74 GB, free: 70.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/3.974, allocations: 0.7527 MB / 1.741 GB, free: 70.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/3.974, allocations: 4.344 kB / 1.741 GB, free: 70.13 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00323/3.977, allocations: 1.313 MB / 1.742 GB, free: 69.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/3.978, allocations: 325.5 kB / 1.743 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/3.978, allocations: 0 / 1.743 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008678/3.979, allocations: 105.5 kB / 1.743 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/3.979, allocations: 32.73 kB / 1.743 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/3.979, allocations: 25.39 kB / 1.743 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008546/3.98, allocations: 0.7153 MB / 1.744 GB, free: 69.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001575/3.981, allocations: 0.5176 MB / 1.744 GB, free: 69.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/3.982, allocations: 0.8303 MB / 1.745 GB, free: 69.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001068/3.983, allocations: 0.6543 MB / 1.745 GB, free: 69.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/3.984, allocations: 0 / 1.745 GB, free: 69.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/3.984, allocations: 355.1 kB / 1.746 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/3.986, allocations: 419.2 kB / 1.746 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/3.989, allocations: 1.626 MB / 1.748 GB, free: 68.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/3.99, allocations: 1.308 MB / 1.749 GB, free: 67.95 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/3.99, allocations: 0 / 1.749 GB, free: 67.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.03482/4.025, allocations: 24.3 MB / 1.773 GB, free: 66.77 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)