Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") [: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.005484/0.005484, allocations: 178.6 kB / 7.451 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.534/1.534, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001826/0.001827, allocations: 107.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.2316/0.2316, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.053e-05, allocations: 1.281 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.786/0.9088, allocations: 304 MB / 0.6858 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.9092, allocations: 79.95 kB / 0.6859 GB, free: 104.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2186/1.128, allocations: 95.77 MB / 0.7794 GB, free: 8.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.626e-05/1.128, allocations: 15.94 kB / 0.7794 GB, free: 8.16 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002662/1.131, allocations: 0.8161 MB / 0.7802 GB, free: 7.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.131, allocations: 8.031 kB / 0.7802 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/1.131, allocations: 55.44 kB / 0.7803 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.133, allocations: 479.9 kB / 0.7807 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/1.133, allocations: 12 kB / 0.7807 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/1.133, allocations: 19.94 kB / 0.7807 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006869/1.133, allocations: 389.2 kB / 0.7811 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/1.134, allocations: 479 kB / 0.7816 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.134, allocations: 0 / 0.7816 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/1.134, allocations: 0 / 0.7816 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/1.134, allocations: 32.62 kB / 0.7816 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/1.138, allocations: 2.201 MB / 0.7838 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/1.138, allocations: 188.4 kB / 0.7839 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.138, allocations: 105.8 kB / 0.784 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.139, allocations: 1.022 MB / 0.785 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/1.139, allocations: 137 kB / 0.7852 GB, free: 1.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/1.139, allocations: 4 kB / 0.7852 GB, free: 1.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006703/1.14, allocations: 214.2 kB / 0.7854 GB, free: 1.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/1.14, allocations: 158.2 kB / 0.7855 GB, free: 1.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/1.141, allocations: 380.9 kB / 0.7859 GB, free: 1.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/1.141, allocations: 29.7 kB / 0.7859 GB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/1.141, allocations: 262.6 kB / 0.7862 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/1.141, allocations: 39.45 kB / 0.7862 GB, free: 0.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/1.141, allocations: 0 / 0.7862 GB, free: 0.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/1.141, allocations: 354.8 kB / 0.7865 GB, free: 360 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/1.141, allocations: 96.84 kB / 0.7866 GB, free: 264 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2359/1.377, allocations: 317.2 kB / 0.7869 GB, free: 151.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.38, allocations: 0.6471 MB / 0.7876 GB, free: 151.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.38, allocations: 5.5 kB / 0.7876 GB, free: 151.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003723/1.384, allocations: 0.8979 MB / 0.7884 GB, free: 151.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001004/1.385, allocations: 2.774 MB / 0.7912 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.385, allocations: 7.562 kB / 0.7912 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.222e-05/1.385, allocations: 16.95 kB / 0.7912 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.386, allocations: 85.91 kB / 0.7913 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.386, allocations: 13.86 kB / 0.7913 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/1.386, allocations: 57.66 kB / 0.7913 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.386, allocations: 22.8 kB / 0.7914 GB, free: 148.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.386, allocations: 3.938 kB / 0.7914 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003155/1.389, allocations: 0.7976 MB / 0.7921 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.389, allocations: 7.375 kB / 0.7921 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.389, allocations: 14.5 kB / 0.7922 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/1.39, allocations: 84.41 kB / 0.7922 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.39, allocations: 14.84 kB / 0.7922 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/1.39, allocations: 37.61 kB / 0.7923 GB, free: 148.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/1.39, allocations: 22.31 kB / 0.7923 GB, free: 148.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0002261/1.39, allocations: 159.9 kB / 0.7925 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/1.391, allocations: 42.28 kB / 0.7925 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/1.391, allocations: 246.2 kB / 0.7927 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.391, allocations: 3.969 kB / 0.7927 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.391, allocations: 0 / 0.7927 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.391, allocations: 3.422 kB / 0.7927 GB, free: 148.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/1.392, allocations: 334 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.392, allocations: 0 / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/1.392, allocations: 18.86 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.392, allocations: 3.906 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/1.392, allocations: 3.656 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.392, allocations: 5.094 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.392, allocations: 3.406 kB / 0.7931 GB, free: 148 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004429/1.392, allocations: 235.2 kB / 0.7933 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.392, allocations: 126.5 kB / 0.7934 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/1.393, allocations: 3.438 kB / 0.7934 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/1.393, allocations: 14.2 kB / 0.7935 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/1.393, allocations: 11.14 kB / 0.7935 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/1.393, allocations: 7.25 kB / 0.7935 GB, free: 147.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003066/1.393, allocations: 284.4 kB / 0.7937 GB, free: 147.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001562/1.395, allocations: 442.3 kB / 0.7942 GB, free: 147.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001127/1.396, allocations: 0.4921 MB / 0.7946 GB, free: 147.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00073/1.397, allocations: 480.1 kB / 0.7951 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.397, allocations: 0 / 0.7951 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/1.397, allocations: 108.5 kB / 0.7952 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/1.397, allocations: 129.8 kB / 0.7953 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/1.399, allocations: 0.5492 MB / 0.7959 GB, free: 147.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/1.399, allocations: 0.8933 MB / 0.7967 GB, free: 146.6 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/1.399, allocations: 0 / 0.7967 GB, free: 146.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01822/1.417, allocations: 10.37 MB / 0.8069 GB, free: 146.5 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)