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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007621/0.007621, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.29/1.29, allocations: 170.8 MB / 186.6 MB, free: 0.9609 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.00156/0.00156, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.3302/0.3302, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 16 kB / 362.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1193, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8042/0.9236, allocations: 304.9 MB / 0.6996 GB, free: 41.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.924, allocations: 87.7 kB / 0.6997 GB, free: 41.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4897/1.414, allocations: 96.62 MB / 0.7941 GB, free: 106.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.414, allocations: 4 kB / 0.7941 GB, free: 106.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.014e-05/1.414, allocations: 14.73 kB / 0.7941 GB, free: 106 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.001934/1.416, allocations: 0.8805 MB / 0.795 GB, free: 105.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.416, allocations: 7.375 kB / 0.795 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/1.416, allocations: 64.81 kB / 0.795 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/1.417, allocations: 473.9 kB / 0.7955 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/1.417, allocations: 18.53 kB / 0.7955 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/1.417, allocations: 32.47 kB / 0.7955 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/1.418, allocations: 0.5057 MB / 0.796 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.418, allocations: 0 / 0.796 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/1.418, allocations: 15.41 kB / 0.796 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/1.418, allocations: 32.34 kB / 0.7961 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/1.418, allocations: 437.9 kB / 0.7965 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/1.422, allocations: 2.246 MB / 0.7987 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/1.422, allocations: 201.6 kB / 0.7989 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.423, allocations: 0.9987 MB / 0.7999 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/1.423, allocations: 141.8 kB / 0.8 GB, free: 101.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.423, allocations: 0 / 0.8 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005705/1.424, allocations: 358.2 kB / 0.8003 GB, free: 101.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.424, allocations: 162.2 kB / 0.8005 GB, free: 101.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/1.425, allocations: 440.8 kB / 0.8009 GB, free: 101.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.425, allocations: 25.7 kB / 0.8009 GB, free: 101.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.425, allocations: 304 kB / 0.8012 GB, free: 100.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/1.425, allocations: 43.17 kB / 0.8013 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/1.425, allocations: 7.594 kB / 0.8013 GB, free: 100.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/1.425, allocations: 354.2 kB / 0.8016 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.425, allocations: 101.4 kB / 0.8017 GB, free: 100.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/1.425, allocations: 329.2 kB / 0.802 GB, free: 100.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/1.426, allocations: 197.5 kB / 0.8022 GB, free: 100 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.426, allocations: 0 / 0.8022 GB, free: 100 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007707/1.426, allocations: 0.5012 MB / 0.8027 GB, free: 99.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.428, allocations: 2.819 MB / 0.8054 GB, free: 96.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.428, allocations: 11.28 kB / 0.8055 GB, free: 96.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/1.428, allocations: 16.78 kB / 0.8055 GB, free: 96.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/1.428, allocations: 84.72 kB / 0.8056 GB, free: 96.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/1.428, allocations: 11.78 kB / 0.8056 GB, free: 96.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/1.428, allocations: 57.91 kB / 0.8056 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/1.428, allocations: 29.75 kB / 0.8057 GB, free: 96.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/1.428, allocations: 3.812 kB / 0.8057 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000603/1.429, allocations: 461.4 kB / 0.8061 GB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.429, allocations: 6.594 kB / 0.8061 GB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.429, allocations: 12.09 kB / 0.8061 GB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/1.429, allocations: 83.09 kB / 0.8062 GB, free: 96.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.429, allocations: 11.58 kB / 0.8062 GB, free: 96.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/1.43, allocations: 49.89 kB / 0.8063 GB, free: 96.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/1.43, allocations: 25.97 kB / 0.8063 GB, free: 96.49 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 () * Number of clocked 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.0002697/1.43, allocations: 308.7 kB / 0.8066 GB, free: 96.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/1.43, allocations: 51.23 kB / 0.8066 GB, free: 96.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/1.431, allocations: 294.4 kB / 0.8069 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.431, allocations: 4 kB / 0.8069 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/1.431, allocations: 0 / 0.8069 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.431, allocations: 3.938 kB / 0.8069 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/1.431, allocations: 365.2 kB / 0.8073 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.431, allocations: 3.75 kB / 0.8073 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/1.431, allocations: 18.55 kB / 0.8073 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.431, allocations: 3.953 kB / 0.8073 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.431, allocations: 7.75 kB / 0.8073 GB, free: 95.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.431, allocations: 0 / 0.8073 GB, free: 95.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.431, allocations: 0 / 0.8073 GB, free: 95.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/1.431, allocations: 292.2 kB / 0.8076 GB, free: 95.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/1.432, allocations: 132.1 kB / 0.8077 GB, free: 95.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/1.432, allocations: 7.828 kB / 0.8077 GB, free: 95.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/1.432, allocations: 15.81 kB / 0.8077 GB, free: 95.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/1.432, allocations: 7.219 kB / 0.8077 GB, free: 95.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/1.432, allocations: 3.938 kB / 0.8077 GB, free: 95.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003253/1.432, allocations: 340.5 kB / 0.8081 GB, free: 95.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.432, allocations: 0 / 0.8081 GB, free: 95.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00166/1.434, allocations: 456 kB / 0.8085 GB, free: 95.18 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) * Number of clocked states: 0 () * 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.001207/1.435, allocations: 0.4915 MB / 0.809 GB, free: 94.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007596/1.436, allocations: 0.5707 MB / 0.8095 GB, free: 94.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.436, allocations: 6.906 kB / 0.8095 GB, free: 94.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.436, allocations: 131.2 kB / 0.8097 GB, free: 94.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/1.437, allocations: 141.3 kB / 0.8098 GB, free: 94.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.438, allocations: 0.9719 MB / 0.8107 GB, free: 94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.438, allocations: 0.8551 MB / 0.8116 GB, free: 93.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004837/1.439, allocations: 150.9 kB / 0.8117 GB, free: 93.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/1.439, allocations: 32.41 kB / 0.8117 GB, free: 93.23 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.439, allocations: 0 / 0.8117 GB, free: 93.23 MB / 426.7 MB Notification: Performance of Templates: time 0.01647/1.456, allocations: 9.461 MB / 0.821 GB, free: 88.75 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)