Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") [: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/Annex60 1.0.0/package.mo): time 0.2908/0.2908, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001379/0.001379, allocations: 186.8 kB / 75.38 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.639/1.639, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 116.1 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.948e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 57.65 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.902/1.042, allocations: 304.4 MB / 0.749 GB, free: 88.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/1.042, allocations: 66.41 kB / 0.7491 GB, free: 88.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.5015/1.544, allocations: 98.89 MB / 0.8457 GB, free: 137.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.216e-05/1.544, allocations: 3.188 kB / 0.8457 GB, free: 137.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001007/1.545, allocations: 0.5206 MB / 0.8462 GB, free: 137.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.545, allocations: 14.14 kB / 0.8462 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/1.545, allocations: 40.78 kB / 0.8462 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/1.546, allocations: 259.5 kB / 0.8465 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/1.546, allocations: 10.25 kB / 0.8465 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/1.546, allocations: 18.41 kB / 0.8465 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003597/1.546, allocations: 128.4 kB / 0.8466 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/1.547, allocations: 267.6 kB / 0.8469 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.547, allocations: 0 / 0.8469 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/1.547, allocations: 3.938 kB / 0.8469 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/1.547, allocations: 13.69 kB / 0.8469 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/1.549, allocations: 1.78 MB / 0.8486 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/1.549, allocations: 89.47 kB / 0.8487 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/1.549, allocations: 49.55 kB / 0.8488 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/1.549, allocations: 0 / 0.8488 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.549, allocations: 34.47 kB / 0.8488 GB, free: 135.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/1.549, allocations: 0 / 0.8488 GB, free: 135.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001247/1.551, allocations: 491.1 kB / 0.8493 GB, free: 135.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/1.551, allocations: 57.59 kB / 0.8493 GB, free: 135.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/1.551, allocations: 214.3 kB / 0.8495 GB, free: 135.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.551, allocations: 25.7 kB / 0.8496 GB, free: 135.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.551, allocations: 182.3 kB / 0.8497 GB, free: 135 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/1.551, allocations: 54.3 kB / 0.8498 GB, free: 135 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/1.551, allocations: 3.156 kB / 0.8498 GB, free: 135 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/1.551, allocations: 338.2 kB / 0.8501 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/1.551, allocations: 49.78 kB / 0.8502 GB, free: 134.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/1.552, allocations: 149.2 kB / 0.8503 GB, free: 134.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.552, allocations: 76.88 kB / 0.8504 GB, free: 134.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.552, allocations: 3.906 kB / 0.8504 GB, free: 134.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004617/1.552, allocations: 251.8 kB / 0.8506 GB, free: 134.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.552, allocations: 3.938 kB / 0.8506 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.552, allocations: 3.875 kB / 0.8506 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/1.552, allocations: 25.56 kB / 0.8507 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.553, allocations: 66.17 kB / 0.8507 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/1.554, allocations: 1.236 MB / 0.8519 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/1.554, allocations: 12.73 kB / 0.8519 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/1.554, allocations: 14.84 kB / 0.852 GB, free: 133.3 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" 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 (35): * Single equations (assignments): 34 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.554, allocations: 117.7 kB / 0.8521 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/1.554, allocations: 22.53 kB / 0.8521 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/1.554, allocations: 21.39 kB / 0.8521 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.554, allocations: 7.031 kB / 0.8521 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.554, allocations: 0 / 0.8521 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000312/1.555, allocations: 447.5 kB / 0.8525 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/1.555, allocations: 0.518 MB / 0.853 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.555, allocations: 3.312 kB / 0.853 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/1.556, allocations: 35.97 kB / 0.8531 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.556, allocations: 3.625 kB / 0.8531 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.556, allocations: 0 / 0.8531 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.556, allocations: 11.5 kB / 0.8531 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.556, allocations: 0 / 0.8531 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003396/1.556, allocations: 372.3 kB / 0.8535 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/1.556, allocations: 99.86 kB / 0.8535 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/1.556, allocations: 3.688 kB / 0.8536 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.556, allocations: 12.81 kB / 0.8536 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/1.556, allocations: 11.3 kB / 0.8536 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/1.556, allocations: 15.56 kB / 0.8536 GB, free: 132.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001294/1.557, allocations: 158.4 kB / 0.8537 GB, free: 132 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004555/1.557, allocations: 71.59 kB / 0.8538 GB, free: 132 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003551/1.557, allocations: 207.8 kB / 0.854 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/1.558, allocations: 240.9 kB / 0.8542 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.558, allocations: 2.953 kB / 0.8542 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/1.558, allocations: 54.45 kB / 0.8543 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/1.559, allocations: 101.6 kB / 0.8544 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/1.559, allocations: 363.8 kB / 0.8547 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.56, allocations: 0.7886 MB / 0.8555 GB, free: 130.9 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.56, allocations: 0 / 0.8555 GB, free: 130.9 MB / 490.7 MB Notification: Performance of Templates: time 0.009267/1.569, allocations: 4.36 MB / 0.8598 GB, free: 130.8 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe 2>&1)