Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009874/0.0009878, allocations: 179 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008939, allocations: 89.84 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1736/0.1736, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.795e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.211, allocations: 0.5045 GB / 0.9986 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.211, allocations: 83.52 kB / 0.9987 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.368/2.579, allocations: 383 MB / 1.373 GB, free: 72.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001666/2.579, allocations: 29.16 kB / 1.373 GB, free: 72.03 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.007037/2.586, allocations: 1.744 MB / 1.374 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/2.586, allocations: 11.22 kB / 1.374 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/2.588, allocations: 217.2 kB / 1.375 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/2.591, allocations: 0.8702 MB / 1.376 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/2.591, allocations: 26.5 kB / 1.376 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/2.591, allocations: 43.38 kB / 1.376 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002381/2.593, allocations: 1.059 MB / 1.377 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/2.596, allocations: 1.144 MB / 1.378 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/2.596, allocations: 7.594 kB / 1.378 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/2.596, allocations: 0 / 1.378 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/2.596, allocations: 91.05 kB / 1.378 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/2.605, allocations: 5.21 MB / 1.383 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/2.605, allocations: 464.3 kB / 1.383 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/2.606, allocations: 314 kB / 1.384 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/2.606, allocations: 354.1 kB / 1.384 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/2.606, allocations: 42.5 kB / 1.384 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 3.176e-06/2.606, allocations: 0 / 1.384 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.00863/2.615, allocations: 2.351 MB / 1.386 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/2.615, allocations: 221.5 kB / 1.387 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/2.616, allocations: 0.6942 MB / 1.387 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/2.616, allocations: 25.7 kB / 1.387 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/2.616, allocations: 409.6 kB / 1.388 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/2.617, allocations: 215 kB / 1.388 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/2.617, allocations: 0 / 1.388 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/2.617, allocations: 347.8 kB / 1.388 GB, free: 66.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/2.617, allocations: 393.9 kB / 1.389 GB, free: 66.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/2.618, allocations: 0.6156 MB / 1.389 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/2.621, allocations: 0.9627 MB / 1.39 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/2.621, allocations: 6.156 kB / 1.39 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004113/2.625, allocations: 1.807 MB / 1.392 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006107/2.625, allocations: 2.185 MB / 1.394 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/2.625, allocations: 3.031 kB / 1.394 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/2.627, allocations: 498.7 kB / 1.394 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/2.628, allocations: 192.8 kB / 1.395 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/2.63, allocations: 1.463 MB / 1.396 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/2.631, allocations: 51.88 kB / 1.396 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/2.632, allocations: 91.88 kB / 1.396 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/2.632, allocations: 3.906 kB / 1.396 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/2.635, allocations: 1.484 MB / 1.398 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/2.635, allocations: 6.469 kB / 1.398 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/2.636, allocations: 325.5 kB / 1.398 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/2.637, allocations: 214.6 kB / 1.398 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000905/2.638, allocations: 1.015 MB / 1.399 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/2.639, allocations: 47.33 kB / 1.399 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/2.639, allocations: 94.97 kB / 1.399 GB, free: 62.52 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.0003059/2.639, allocations: 128.7 kB / 1.399 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/2.64, allocations: 93.56 kB / 1.4 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/2.643, allocations: 1.679 MB / 1.401 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/2.643, allocations: 6.156 kB / 1.401 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/2.643, allocations: 0 / 1.401 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/2.643, allocations: 11.45 kB / 1.401 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/2.646, allocations: 1.843 MB / 1.403 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/2.646, allocations: 0 / 1.403 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/2.647, allocations: 158.6 kB / 1.403 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/2.647, allocations: 18.78 kB / 1.403 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/2.647, allocations: 22.48 kB / 1.403 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/2.648, allocations: 1.23 MB / 1.404 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.648, allocations: 0 / 1.404 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002269/2.65, allocations: 1.417 MB / 1.406 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/2.65, allocations: 186 kB / 1.406 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/2.651, allocations: 7.594 kB / 1.406 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/2.651, allocations: 42.56 kB / 1.406 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/2.651, allocations: 54.66 kB / 1.406 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/2.652, allocations: 56.31 kB / 1.406 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006368/2.652, allocations: 0.5271 MB / 1.407 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003637/2.656, allocations: 1.109 MB / 1.408 GB, free: 60.12 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.00349/2.659, allocations: 1.989 MB / 1.41 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002447/2.662, allocations: 1.466 MB / 1.411 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/2.662, allocations: 0 / 1.411 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005966/2.662, allocations: 479.1 kB / 1.412 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/2.665, allocations: 463.3 kB / 1.412 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/2.668, allocations: 1.484 MB / 1.413 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/2.669, allocations: 1.361 MB / 1.415 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/2.669, allocations: 0 / 1.415 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.0616/2.731, allocations: 43.09 MB / 1.457 GB, free: 56.45 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)