Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") [: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.003065/0.003065, allocations: 173 kB / 7.446 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.452/1.452, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00193/0.00193, allocations: 120.4 kB / 217.7 MB, free: 8.16 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.2227/0.2227, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.979e-06/9.999e-06, allocations: 1.281 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.734/1.863, allocations: 0.5917 GB / 0.9806 GB, free: 129.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/1.864, allocations: 87.31 kB / 0.9807 GB, free: 129.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513/3.377, allocations: 406.4 MB / 1.378 GB, free: 39.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000125/3.377, allocations: 32.5 kB / 1.378 GB, free: 39.09 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007886/3.385, allocations: 1.897 MB / 1.379 GB, free: 37.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.426e-05/3.385, allocations: 11.88 kB / 1.379 GB, free: 37.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/3.387, allocations: 213.2 kB / 1.38 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/3.389, allocations: 0.8944 MB / 1.381 GB, free: 36.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/3.389, allocations: 32.44 kB / 1.381 GB, free: 36.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/3.39, allocations: 38.09 kB / 1.381 GB, free: 36.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001852/3.391, allocations: 1.054 MB / 1.382 GB, free: 36.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/3.393, allocations: 1.125 MB / 1.383 GB, free: 35.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/3.393, allocations: 6.344 kB / 1.383 GB, free: 35.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/3.393, allocations: 7.797 kB / 1.383 GB, free: 35.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-05/3.393, allocations: 93.84 kB / 1.383 GB, free: 35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007896/3.401, allocations: 4.989 MB / 1.388 GB, free: 29.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/3.402, allocations: 447 kB / 1.388 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/3.402, allocations: 314.2 kB / 1.388 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/3.403, allocations: 317.7 kB / 1.389 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/3.403, allocations: 43.05 kB / 1.389 GB, free: 28.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 3.677e-06/3.403, allocations: 0 / 1.389 GB, free: 28.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.008575/3.411, allocations: 2.398 MB / 1.391 GB, free: 26.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/3.412, allocations: 214.1 kB / 1.391 GB, free: 25.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/3.413, allocations: 0.696 MB / 1.392 GB, free: 25.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/3.413, allocations: 25.7 kB / 1.392 GB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/3.413, allocations: 433.5 kB / 1.392 GB, free: 24.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/3.413, allocations: 212.9 kB / 1.393 GB, free: 24.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/3.413, allocations: 0 / 1.393 GB, free: 24.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/3.413, allocations: 345.9 kB / 1.393 GB, free: 24.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/3.414, allocations: 385.9 kB / 1.393 GB, free: 23.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/3.414, allocations: 0.6625 MB / 1.394 GB, free: 23.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009069/3.423, allocations: 2.02 MB / 1.396 GB, free: 21.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/3.423, allocations: 0 / 1.396 GB, free: 21.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0113/3.435, allocations: 2.883 MB / 1.399 GB, free: 18.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006226/3.435, allocations: 2.87 MB / 1.402 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/3.435, allocations: 11.98 kB / 1.402 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/3.437, allocations: 486.9 kB / 1.402 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/3.438, allocations: 192.9 kB / 1.402 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/3.44, allocations: 1.486 MB / 1.404 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/3.442, allocations: 53.2 kB / 1.404 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/3.442, allocations: 104 kB / 1.404 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/3.442, allocations: 0 / 1.404 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/3.452, allocations: 2.547 MB / 1.406 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/3.452, allocations: 4 kB / 1.406 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/3.453, allocations: 332.7 kB / 1.407 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/3.454, allocations: 222.3 kB / 1.407 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/3.455, allocations: 1.013 MB / 1.408 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/3.456, allocations: 51.95 kB / 1.408 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/3.457, allocations: 95.97 kB / 1.408 GB, free: 8.605 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/3.457, allocations: 128.6 kB / 1.408 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/3.457, allocations: 102.9 kB / 1.408 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/3.46, allocations: 1.178 MB / 1.409 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/3.46, allocations: 14.94 kB / 1.409 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/3.46, allocations: 0 / 1.409 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/3.46, allocations: 3.906 kB / 1.409 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/3.463, allocations: 1.823 MB / 1.411 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/3.464, allocations: 4 kB / 1.411 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/3.464, allocations: 151.8 kB / 1.411 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-05/3.464, allocations: 20.86 kB / 1.411 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/3.464, allocations: 27.94 kB / 1.411 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/3.465, allocations: 1.221 MB / 1.413 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/3.465, allocations: 3.062 kB / 1.413 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002378/3.467, allocations: 1.417 MB / 1.414 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/3.468, allocations: 191.8 kB / 1.414 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/3.468, allocations: 0 / 1.414 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/3.469, allocations: 47.89 kB / 1.414 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/3.469, allocations: 44.44 kB / 1.414 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/3.469, allocations: 47.98 kB / 1.414 GB, free: 1.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007229/3.47, allocations: 0.5303 MB / 1.415 GB, free: 1.453 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004369/3.474, allocations: 1.194 MB / 1.416 GB, free: 264 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00699/3.481, allocations: 2.18 MB / 1.418 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003777/3.485, allocations: 1.476 MB / 1.419 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/3.485, allocations: 0 / 1.419 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/3.486, allocations: 487.6 kB / 1.42 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/3.489, allocations: 439.8 kB / 1.42 GB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/3.499, allocations: 3.183 MB / 1.423 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/3.501, allocations: 1.313 MB / 1.425 GB, free: 7.453 MB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/3.501, allocations: 4 kB / 1.425 GB, free: 7.449 MB / 442.7 MB Notification: Performance of Templates: time 0.337/3.838, allocations: 43.54 MB / 1.467 GB, free: 86.83 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)