Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") [: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 3.2.1+maint.om/package.mo): time 0.004508/0.004508, allocations: 175.1 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.569/1.569, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002029/0.002029, allocations: 117 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2251/0.2251, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.006e-05, allocations: 1.125 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 48.7 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.158, allocations: 340.7 MB / 0.7216 GB, free: 53.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.158, allocations: 90.41 kB / 0.7217 GB, free: 53.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.611/1.769, allocations: 128.8 MB / 0.8475 GB, free: 99.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001029/1.769, allocations: 20 kB / 0.8475 GB, free: 99.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002963/1.772, allocations: 0.8886 MB / 0.8483 GB, free: 98.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.772, allocations: 12.03 kB / 0.8483 GB, free: 98.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/1.773, allocations: 91.05 kB / 0.8484 GB, free: 98.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.775, allocations: 0.5441 MB / 0.849 GB, free: 98.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/1.775, allocations: 88.39 kB / 0.8491 GB, free: 98.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.775, allocations: 24 kB / 0.8491 GB, free: 97.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/1.776, allocations: 0.5411 MB / 0.8496 GB, free: 97.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.777, allocations: 0.747 MB / 0.8503 GB, free: 96.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.778, allocations: 0 / 0.8503 GB, free: 96.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/1.778, allocations: 7.906 kB / 0.8503 GB, free: 96.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/1.778, allocations: 44.97 kB / 0.8504 GB, free: 96.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/1.783, allocations: 4.183 MB / 0.8545 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/1.783, allocations: 214.1 kB / 0.8547 GB, free: 91.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/1.783, allocations: 136.8 kB / 0.8548 GB, free: 91.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/1.785, allocations: 1.482 MB / 0.8562 GB, free: 90.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.785, allocations: 34.56 kB / 0.8563 GB, free: 90.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/1.785, allocations: 4 kB / 0.8563 GB, free: 90.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002241/1.788, allocations: 0.7573 MB / 0.857 GB, free: 89.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.788, allocations: 132.5 kB / 0.8572 GB, free: 89.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/1.788, allocations: 0.5303 MB / 0.8577 GB, free: 88.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/1.788, allocations: 25.7 kB / 0.8577 GB, free: 88.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.789, allocations: 389.3 kB / 0.8581 GB, free: 88.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/1.789, allocations: 78.98 kB / 0.8581 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/1.789, allocations: 0 / 0.8581 GB, free: 88.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/1.789, allocations: 370.8 kB / 0.8585 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/1.789, allocations: 145.5 kB / 0.8586 GB, free: 87.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/1.79, allocations: 0.5426 MB / 0.8592 GB, free: 86.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/1.79, allocations: 275.6 kB / 0.8594 GB, free: 86.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.79, allocations: 8 kB / 0.8594 GB, free: 86.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001153/1.791, allocations: 0.6376 MB / 0.8601 GB, free: 85.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.791, allocations: 4 kB / 0.8601 GB, free: 85.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.791, allocations: 12 kB / 0.8601 GB, free: 85.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.791, allocations: 23.91 kB / 0.8601 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/1.792, allocations: 208.3 kB / 0.8603 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.792, allocations: 31.86 kB / 0.8603 GB, free: 85.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/1.793, allocations: 31.92 kB / 0.8604 GB, free: 85.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/1.793, allocations: 43.98 kB / 0.8604 GB, free: 85.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0001649/1.793, allocations: 144.5 kB / 0.8605 GB, free: 85.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.793, allocations: 63.25 kB / 0.8606 GB, free: 85.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/1.794, allocations: 268.4 kB / 0.8609 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.794, allocations: 4 kB / 0.8609 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.794, allocations: 0 / 0.8609 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.794, allocations: 7.984 kB / 0.8609 GB, free: 85.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/1.795, allocations: 0.776 MB / 0.8616 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.795, allocations: 0 / 0.8616 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.796, allocations: 39.98 kB / 0.8617 GB, free: 84.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/1.796, allocations: 36.86 kB / 0.8617 GB, free: 84.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.796, allocations: 7.938 kB / 0.8617 GB, free: 84.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003991/1.796, allocations: 0.5563 MB / 0.8622 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.796, allocations: 4 kB / 0.8622 GB, free: 83.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006677/1.797, allocations: 0.503 MB / 0.8627 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/1.797, allocations: 172.3 kB / 0.8629 GB, free: 82.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.797, allocations: 4 kB / 0.8629 GB, free: 82.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/1.798, allocations: 12.06 kB / 0.8629 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.798, allocations: 20.06 kB / 0.8629 GB, free: 82.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.798, allocations: 15.98 kB / 0.863 GB, free: 82.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004733/1.798, allocations: 387.2 kB / 0.8633 GB, free: 82.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001035/1.799, allocations: 191.9 kB / 0.8635 GB, free: 82.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008342/1.8, allocations: 323 kB / 0.8638 GB, free: 81.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000666/1.801, allocations: 367.2 kB / 0.8642 GB, free: 81.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.801, allocations: 8.062 kB / 0.8642 GB, free: 81.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/1.801, allocations: 83.86 kB / 0.8643 GB, free: 81.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.802, allocations: 222.8 kB / 0.8645 GB, free: 81.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.804, allocations: 0.7667 MB / 0.8652 GB, free: 80.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/1.805, allocations: 0.9952 MB / 0.8662 GB, free: 79.41 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.805, allocations: 4 kB / 0.8662 GB, free: 79.4 MB / 426.7 MB Notification: Performance of Templates: time 0.02101/1.826, allocations: 10.04 MB / 0.876 GB, free: 69.46 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)