Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") [: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.0043/0.0043, allocations: 173.1 kB / 7.449 MB, free: 2.492 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.51/1.51, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001988/0.001988, allocations: 111.8 kB / 217.7 MB, free: 8.211 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.192/0.192, allocations: 37.98 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.269e-05, allocations: 1 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.747/1.887, allocations: 0.5878 GB / 0.9767 GB, free: 133.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.887, allocations: 85.31 kB / 0.9768 GB, free: 133.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.334/3.221, allocations: 344 MB / 1.313 GB, free: 50.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000151/3.221, allocations: 26.38 kB / 1.313 GB, free: 50.62 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007018/3.228, allocations: 1.568 MB / 1.314 GB, free: 49.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/3.228, allocations: 14.77 kB / 1.314 GB, free: 49.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/3.23, allocations: 199.7 kB / 1.314 GB, free: 49.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/3.233, allocations: 0.8302 MB / 1.315 GB, free: 49.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/3.233, allocations: 22.72 kB / 1.315 GB, free: 49.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/3.233, allocations: 37.94 kB / 1.315 GB, free: 49.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002318/3.236, allocations: 1.002 MB / 1.316 GB, free: 49.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/3.238, allocations: 1.047 MB / 1.317 GB, free: 49.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/3.238, allocations: 5.062 kB / 1.317 GB, free: 49.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/3.238, allocations: 9.719 kB / 1.317 GB, free: 49.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/3.239, allocations: 84.55 kB / 1.317 GB, free: 49.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/3.248, allocations: 4.338 MB / 1.322 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/3.249, allocations: 0.6314 MB / 1.322 GB, free: 47.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/3.249, allocations: 309.7 kB / 1.323 GB, free: 47.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/3.25, allocations: 312.7 kB / 1.323 GB, free: 47.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/3.25, allocations: 38.75 kB / 1.323 GB, free: 47.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.426e-06/3.25, allocations: 0 / 1.323 GB, free: 47.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.002661/3.253, allocations: 0.9677 MB / 1.324 GB, free: 47.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/3.253, allocations: 212.5 kB / 1.324 GB, free: 46.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/3.254, allocations: 0.6697 MB / 1.325 GB, free: 46.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/3.254, allocations: 28.98 kB / 1.325 GB, free: 46.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/3.254, allocations: 390.4 kB / 1.325 GB, free: 46.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/3.254, allocations: 174.1 kB / 1.325 GB, free: 46.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/3.254, allocations: 0 / 1.325 GB, free: 46.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/3.254, allocations: 395.6 kB / 1.326 GB, free: 46.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/3.255, allocations: 373.2 kB / 1.326 GB, free: 46.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/3.255, allocations: 0.595 MB / 1.327 GB, free: 45.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009458/3.265, allocations: 1.989 MB / 1.329 GB, free: 45.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-05/3.265, allocations: 3.844 kB / 1.329 GB, free: 45.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0128/3.278, allocations: 2.763 MB / 1.331 GB, free: 45.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006899/3.279, allocations: 2.441 MB / 1.334 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/3.279, allocations: 4.781 kB / 1.334 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/3.282, allocations: 0.6456 MB / 1.334 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/3.283, allocations: 172.9 kB / 1.334 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/3.286, allocations: 1.378 MB / 1.336 GB, free: 42.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/3.287, allocations: 105.4 kB / 1.336 GB, free: 42.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/3.287, allocations: 75.75 kB / 1.336 GB, free: 42.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/3.287, allocations: 10.44 kB / 1.336 GB, free: 42.65 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01118/3.299, allocations: 2.477 MB / 1.338 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/3.299, allocations: 6.219 kB / 1.338 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008286/3.3, allocations: 164.6 kB / 1.339 GB, free: 42.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009192/3.301, allocations: 211.6 kB / 1.339 GB, free: 42.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/3.303, allocations: 1.984 MB / 1.341 GB, free: 41.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/3.305, allocations: 86.23 kB / 1.341 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/3.305, allocations: 68.8 kB / 1.341 GB, free: 41.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004138/3.305, allocations: 130.9 kB / 1.341 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/3.306, allocations: 86.47 kB / 1.341 GB, free: 41.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/3.309, allocations: 1.14 MB / 1.342 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/3.309, allocations: 3.062 kB / 1.342 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/3.309, allocations: 0 / 1.342 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/3.309, allocations: 6.188 kB / 1.342 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/3.313, allocations: 1.738 MB / 1.344 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/3.313, allocations: 0 / 1.344 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/3.313, allocations: 56.7 kB / 1.344 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/3.315, allocations: 490.9 kB / 1.344 GB, free: 40.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/3.315, allocations: 12.28 kB / 1.344 GB, free: 40.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/3.317, allocations: 1.31 MB / 1.346 GB, free: 40.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/3.317, allocations: 3.188 kB / 1.346 GB, free: 40.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002342/3.32, allocations: 1.046 MB / 1.347 GB, free: 40.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/3.32, allocations: 181.7 kB / 1.347 GB, free: 39.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/3.321, allocations: 3.75 kB / 1.347 GB, free: 39.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/3.321, allocations: 42.88 kB / 1.347 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/3.322, allocations: 32.75 kB / 1.347 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/3.322, allocations: 34.05 kB / 1.347 GB, free: 39.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0008477/3.322, allocations: 0.4983 MB / 1.347 GB, free: 39.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004383/3.327, allocations: 1.173 MB / 1.349 GB, free: 39.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003897/3.331, allocations: 2.008 MB / 1.351 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/3.333, allocations: 1.458 MB / 1.352 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/3.333, allocations: 0 / 1.352 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/3.334, allocations: 337.5 kB / 1.352 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/3.336, allocations: 408.5 kB / 1.353 GB, free: 38.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008284/3.344, allocations: 2.919 MB / 1.356 GB, free: 38.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009702/3.345, allocations: 1.198 MB / 1.357 GB, free: 37.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/3.345, allocations: 0 / 1.357 GB, free: 37.89 MB / 426.7 MB Notification: Performance of Templates: time 0.06622/3.411, allocations: 37.98 MB / 1.394 GB, free: 20.24 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)