Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001004/0.001004, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.243/1.243, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.00164/0.00164, allocations: 114.8 kB / 223.2 MB, free: 4.113 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.1715/0.1715, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.07998, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.508/6.588, allocations: 2.545 GB / 2.941 GB, free: 141 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/6.588, allocations: 75.25 kB / 2.941 GB, free: 141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571/8.159, allocations: 453 MB / 3.383 GB, free: 28.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/8.159, allocations: 0 / 3.383 GB, free: 28.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.829e-05/8.16, allocations: 24 kB / 3.383 GB, free: 28.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00918/8.169, allocations: 2.098 MB / 3.385 GB, free: 26.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000138/8.169, allocations: 8.031 kB / 3.385 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/8.172, allocations: 366.8 kB / 3.386 GB, free: 26.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/8.174, allocations: 0.8787 MB / 3.387 GB, free: 25.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/8.174, allocations: 72.95 kB / 3.387 GB, free: 25.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/8.174, allocations: 75.12 kB / 3.387 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/8.177, allocations: 1.462 MB / 3.388 GB, free: 24.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/8.177, allocations: 7.938 kB / 3.388 GB, free: 24.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/8.177, allocations: 35.23 kB / 3.388 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/8.177, allocations: 57.97 kB / 3.388 GB, free: 24.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/8.179, allocations: 1.249 MB / 3.389 GB, free: 22.86 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007572/8.187, allocations: 6.55 MB / 3.396 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/8.189, allocations: 0.9342 MB / 3.397 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/8.19, allocations: 393.5 kB / 3.397 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4164/8.606, allocations: 32.03 MB / 3.428 GB, free: 52.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.001e-05/8.606, allocations: 52.31 kB / 3.428 GB, free: 52.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.566e-06/8.606, allocations: 3.094 kB / 3.428 GB, free: 52.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.007355/8.613, allocations: 2.803 MB / 3.431 GB, free: 52.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/8.614, allocations: 190.9 kB / 3.431 GB, free: 52.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/8.614, allocations: 0.6449 MB / 3.432 GB, free: 52.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/8.614, allocations: 34.77 kB / 3.432 GB, free: 52.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/8.615, allocations: 411.7 kB / 3.432 GB, free: 51.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/8.615, allocations: 211.3 kB / 3.433 GB, free: 51.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/8.615, allocations: 15.25 kB / 3.433 GB, free: 51.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/8.615, allocations: 390.5 kB / 3.433 GB, free: 51.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/8.616, allocations: 346.7 kB / 3.433 GB, free: 51.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/8.616, allocations: 0.5484 MB / 3.434 GB, free: 51.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/8.617, allocations: 413.2 kB / 3.434 GB, free: 51.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/8.617, allocations: 1.281 kB / 3.434 GB, free: 51.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001928/8.619, allocations: 1.211 MB / 3.435 GB, free: 51.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005236/8.62, allocations: 2.264 MB / 3.438 GB, free: 48.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/8.62, allocations: 6.219 kB / 3.438 GB, free: 48.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/8.623, allocations: 0.6384 MB / 3.438 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/8.623, allocations: 169.8 kB / 3.438 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/8.625, allocations: 1.248 MB / 3.44 GB, free: 48.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/8.626, allocations: 103.8 kB / 3.44 GB, free: 48.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/8.626, allocations: 42.58 kB / 3.44 GB, free: 48.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/8.626, allocations: 5.719 kB / 3.44 GB, free: 48.22 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/8.628, allocations: 1.068 MB / 3.441 GB, free: 48.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/8.628, allocations: 7.281 kB / 3.441 GB, free: 48.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/8.63, allocations: 394 kB / 3.441 GB, free: 48.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/8.631, allocations: 178.7 kB / 3.441 GB, free: 48.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/8.632, allocations: 1.059 MB / 3.442 GB, free: 47.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/8.633, allocations: 106.7 kB / 3.443 GB, free: 47.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/8.633, allocations: 36.44 kB / 3.443 GB, free: 47.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/8.633, allocations: 154.8 kB / 3.443 GB, free: 47.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/8.633, allocations: 89.83 kB / 3.443 GB, free: 47.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/8.638, allocations: 3.228 MB / 3.446 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.674e-05/8.638, allocations: 34.52 kB / 3.446 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/8.638, allocations: 12.56 kB / 3.446 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003063/8.642, allocations: 2.683 MB / 3.449 GB, free: 46.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/8.647, allocations: 4.486 MB / 3.453 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/8.647, allocations: 5.375 kB / 3.453 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/8.648, allocations: 175.3 kB / 3.453 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/8.648, allocations: 89.31 kB / 3.453 GB, free: 46.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/8.648, allocations: 21.66 kB / 3.453 GB, free: 46.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003599/8.649, allocations: 0.6449 MB / 3.454 GB, free: 45.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/8.649, allocations: 9.562 kB / 3.454 GB, free: 45.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/8.652, allocations: 2.741 MB / 3.457 GB, free: 45.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007817/8.652, allocations: 461.8 kB / 3.457 GB, free: 45.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/8.653, allocations: 22.2 kB / 3.457 GB, free: 45.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/8.653, allocations: 81.38 kB / 3.457 GB, free: 45.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/8.653, allocations: 62.42 kB / 3.457 GB, free: 45.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/8.654, allocations: 29.05 kB / 3.457 GB, free: 45.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001001/8.655, allocations: 0.7914 MB / 3.458 GB, free: 44.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.262e-06/8.655, allocations: 0 / 3.458 GB, free: 44.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007751/8.662, allocations: 1.721 MB / 3.46 GB, free: 44.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/8.674, allocations: 1.967 MB / 3.462 GB, free: 44.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003752/8.678, allocations: 1.679 MB / 3.463 GB, free: 44.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/8.678, allocations: 0 / 3.463 GB, free: 44.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/8.679, allocations: 0.8423 MB / 3.464 GB, free: 44.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/8.682, allocations: 477.6 kB / 3.464 GB, free: 44.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/8.687, allocations: 2.386 MB / 3.467 GB, free: 44.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/8.688, allocations: 1.342 MB / 3.468 GB, free: 43.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001813/8.69, allocations: 0.9786 MB / 3.469 GB, free: 43.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/8.69, allocations: 74.39 kB / 3.469 GB, free: 43.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/8.69, allocations: 0 / 3.469 GB, free: 43.37 MB / 458.7 MB Notification: Performance of Templates: time 0.07787/8.768, allocations: 54.47 MB / 3.522 GB, free: 41.21 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)