Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001114/0.001114, allocations: 194.5 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 90.72 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/7.003e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.339, allocations: 0.5055 GB / 1.009 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.34, allocations: 86.14 kB / 1.009 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.466/2.805, allocations: 383.3 MB / 1.384 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001002/2.805, allocations: 32.17 kB / 1.384 GB, free: 66.15 MB / 0.5261 GB 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.005718/2.811, allocations: 1.752 MB / 1.385 GB, free: 65.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.811, allocations: 11.25 kB / 1.385 GB, free: 65.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/2.813, allocations: 208.3 kB / 1.386 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/2.815, allocations: 0.8705 MB / 1.387 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/2.815, allocations: 23.56 kB / 1.387 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/2.815, allocations: 42.12 kB / 1.387 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001747/2.817, allocations: 1.063 MB / 1.388 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/2.818, allocations: 1.142 MB / 1.389 GB, free: 65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/2.818, allocations: 4.938 kB / 1.389 GB, free: 65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/2.819, allocations: 2.875 kB / 1.389 GB, free: 65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/2.819, allocations: 90.39 kB / 1.389 GB, free: 65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008226/2.827, allocations: 5.215 MB / 1.394 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/2.828, allocations: 461.6 kB / 1.394 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/2.828, allocations: 315.7 kB / 1.395 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/2.828, allocations: 346.5 kB / 1.395 GB, free: 62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/2.829, allocations: 44.12 kB / 1.395 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 5.17e-06/2.829, allocations: 0 / 1.395 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.008852/2.837, allocations: 2.367 MB / 1.397 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/2.838, allocations: 213.7 kB / 1.398 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/2.839, allocations: 0.6983 MB / 1.398 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/2.839, allocations: 25.7 kB / 1.398 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/2.839, allocations: 407.6 kB / 1.399 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/2.839, allocations: 211 kB / 1.399 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/2.839, allocations: 0 / 1.399 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001007/2.839, allocations: 356.2 kB / 1.399 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/2.84, allocations: 390.4 kB / 1.4 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/2.841, allocations: 0.614 MB / 1.4 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/2.844, allocations: 1.125 MB / 1.401 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/2.844, allocations: 0 / 1.401 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005825/2.85, allocations: 1.974 MB / 1.403 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006118/2.851, allocations: 2.179 MB / 1.405 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/2.851, allocations: 6.25 kB / 1.405 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/2.853, allocations: 500 kB / 1.406 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/2.854, allocations: 178.2 kB / 1.406 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/2.856, allocations: 1.463 MB / 1.407 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/2.858, allocations: 60.84 kB / 1.407 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/2.858, allocations: 92.05 kB / 1.408 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/2.858, allocations: 8.375 kB / 1.408 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00464/2.862, allocations: 1.646 MB / 1.409 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/2.862, allocations: 6.406 kB / 1.409 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/2.864, allocations: 321.4 kB / 1.409 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/2.865, allocations: 204.4 kB / 1.41 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/2.866, allocations: 1.011 MB / 1.411 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/2.867, allocations: 50.77 kB / 1.411 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/2.867, allocations: 92.08 kB / 1.411 GB, free: 56.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0004336/2.868, allocations: 128 kB / 1.411 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/2.868, allocations: 92.31 kB / 1.411 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/2.872, allocations: 1.69 MB / 1.413 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/2.872, allocations: 6.969 kB / 1.413 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/2.872, allocations: 0 / 1.413 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/2.872, allocations: 2.719 kB / 1.413 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/2.876, allocations: 1.853 MB / 1.414 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.876, allocations: 0 / 1.414 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/2.876, allocations: 150.5 kB / 1.415 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/2.877, allocations: 24.08 kB / 1.415 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.285e-05/2.877, allocations: 24.44 kB / 1.415 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007777/2.877, allocations: 1.219 MB / 1.416 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/2.877, allocations: 3.562 kB / 1.416 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002508/2.88, allocations: 1.419 MB / 1.417 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/2.88, allocations: 189.2 kB / 1.417 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/2.881, allocations: 0 / 1.417 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/2.881, allocations: 48.11 kB / 1.417 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/2.882, allocations: 51.22 kB / 1.417 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/2.882, allocations: 55.66 kB / 1.418 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0007854/2.882, allocations: 0.5218 MB / 1.418 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004463/2.887, allocations: 1.133 MB / 1.419 GB, free: 54.24 MB / 0.5261 GB 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.00447/2.891, allocations: 1.996 MB / 1.421 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002856/2.894, allocations: 1.466 MB / 1.423 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.894, allocations: 0 / 1.423 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006568/2.895, allocations: 482.4 kB / 1.423 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/2.897, allocations: 446.6 kB / 1.423 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/2.901, allocations: 1.479 MB / 1.425 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/2.902, allocations: 1.363 MB / 1.426 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/2.902, allocations: 0 / 1.426 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06946/2.972, allocations: 43.03 MB / 1.468 GB, free: 50.57 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)