Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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.00337/0.00337, allocations: 182.2 kB / 7.457 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6718/0.6718, allocations: 130.6 MB / 138.5 MB, free: 2.16 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 391.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 105 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.155e-05, allocations: 4.188 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.458, allocations: 362.5 MB / 0.9816 GB, free: 249.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.458, allocations: 83.02 kB / 0.9817 GB, free: 249.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.535/4.993, allocations: 0.953 GB / 1.935 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004727/4.994, allocations: 47.2 kB / 1.935 GB, free: 58.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.008511/5.002, allocations: 1.874 MB / 1.937 GB, free: 56.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.77e-05/5.002, allocations: 8.031 kB / 1.937 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/5.007, allocations: 0.6604 MB / 1.937 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007412/5.015, allocations: 1.471 MB / 1.939 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/5.015, allocations: 32 kB / 1.939 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006407/5.016, allocations: 64 kB / 1.939 GB, free: 54.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002922/5.019, allocations: 0.867 MB / 1.94 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/5.022, allocations: 1.047 MB / 1.941 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/5.022, allocations: 11.94 kB / 1.941 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/5.022, allocations: 0 / 1.941 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/5.022, allocations: 24 kB / 1.941 GB, free: 52.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/5.033, allocations: 6.468 MB / 1.947 GB, free: 45.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/5.035, allocations: 0.8562 MB / 1.948 GB, free: 44.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/5.035, allocations: 0.499 MB / 1.948 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/5.037, allocations: 2.267 MB / 1.95 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008909/5.038, allocations: 0.6484 MB / 1.951 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/5.038, allocations: 0 / 1.951 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.003888/5.042, allocations: 1.371 MB / 1.952 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/5.042, allocations: 141.3 kB / 1.953 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/5.044, allocations: 0.8819 MB / 1.953 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/5.044, allocations: 29.7 kB / 1.953 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/5.045, allocations: 445.8 kB / 1.954 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/5.045, allocations: 322.3 kB / 1.954 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/5.045, allocations: 0 / 1.954 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001068/5.045, allocations: 349.8 kB / 1.955 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/5.046, allocations: 409.8 kB / 1.955 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/5.047, allocations: 0.6321 MB / 1.956 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/5.049, allocations: 0.7348 MB / 1.956 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/5.049, allocations: 4 kB / 1.956 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00377/5.053, allocations: 1.476 MB / 1.958 GB, free: 33.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004686/5.053, allocations: 1.607 MB / 1.959 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/5.053, allocations: 8 kB / 1.959 GB, free: 32.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.446e-05/5.053, allocations: 8 kB / 1.959 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/5.055, allocations: 294.5 kB / 1.96 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/5.055, allocations: 19.88 kB / 1.96 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/5.057, allocations: 219 kB / 1.96 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/5.057, allocations: 59.95 kB / 1.96 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/5.057, allocations: 4 kB / 1.96 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/5.06, allocations: 1.285 MB / 1.961 GB, free: 30.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/5.06, allocations: 15.83 kB / 1.961 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/5.06, allocations: 8 kB / 1.961 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/5.061, allocations: 292 kB / 1.961 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/5.061, allocations: 11.98 kB / 1.961 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/5.063, allocations: 205.9 kB / 1.962 GB, free: 29.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/5.064, allocations: 63.88 kB / 1.962 GB, free: 29.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004176/5.064, allocations: 233.9 kB / 1.962 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/5.065, allocations: 158.1 kB / 1.962 GB, free: 29.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/5.07, allocations: 2.102 MB / 1.964 GB, free: 27.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/5.07, allocations: 19.89 kB / 1.964 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/5.07, allocations: 3.375 kB / 1.964 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/5.07, allocations: 7.969 kB / 1.964 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007637/5.078, allocations: 3.217 MB / 1.967 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/5.078, allocations: 0 / 1.967 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/5.079, allocations: 247.8 kB / 1.968 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/5.079, allocations: 4 kB / 1.968 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/5.079, allocations: 31.97 kB / 1.968 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/5.079, allocations: 8 kB / 1.968 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/5.079, allocations: 0 / 1.968 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004984/5.084, allocations: 2.677 MB / 1.97 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/5.085, allocations: 400 kB / 1.971 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005741/5.086, allocations: 15.91 kB / 1.971 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/5.088, allocations: 163.8 kB / 1.971 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/5.088, allocations: 72.81 kB / 1.971 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/5.088, allocations: 59.95 kB / 1.971 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001395/5.09, allocations: 0.6678 MB / 1.972 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003922/5.094, allocations: 0.8726 MB / 1.972 GB, free: 18.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002695/5.096, allocations: 0.9881 MB / 1.973 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003107/5.099, allocations: 1.922 MB / 1.975 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/5.099, allocations: 0 / 1.975 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/5.101, allocations: 0.8194 MB / 1.976 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/5.104, allocations: 0.4937 MB / 1.977 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/5.11, allocations: 2.496 MB / 1.979 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/5.112, allocations: 1.491 MB / 1.98 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/5.112, allocations: 0 / 1.98 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.5439/5.655, allocations: 36.78 MB / 2.016 GB, free: 143.6 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)