Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009838/0.0009839, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.461/1.461, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00192/0.00192, allocations: 115.1 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2063/0.2063, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.759e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.614/7.73, allocations: 2.654 GB / 3.092 GB, free: 82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/7.73, allocations: 77.25 kB / 3.092 GB, free: 81.92 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.11/9.841, allocations: 459.2 MB / 3.541 GB, free: 48.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/9.841, allocations: 3.125 kB / 3.541 GB, free: 48.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.401e-05/9.841, allocations: 23.48 kB / 3.541 GB, free: 48.19 MB / 490.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.008377/9.849, allocations: 2.144 MB / 3.543 GB, free: 47.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/9.849, allocations: 7.188 kB / 3.543 GB, free: 47.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/9.852, allocations: 376 kB / 3.543 GB, free: 47.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/9.854, allocations: 0.8762 MB / 3.544 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/9.854, allocations: 43.19 kB / 3.544 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/9.854, allocations: 45.62 kB / 3.544 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00144/9.855, allocations: 0.9169 MB / 3.545 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/9.857, allocations: 1.09 MB / 3.546 GB, free: 46.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/9.857, allocations: 7.375 kB / 3.546 GB, free: 46.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/9.857, allocations: 7.703 kB / 3.546 GB, free: 46.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/9.857, allocations: 48.97 kB / 3.546 GB, free: 46.86 MB / 490.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.2329/10.09, allocations: 101.2 MB / 3.645 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/10.09, allocations: 480.5 kB / 3.645 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/10.09, allocations: 272.6 kB / 3.646 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05639/10.15, allocations: 16.77 MB / 3.662 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/10.15, allocations: 44.89 kB / 3.662 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 5.56e-06/10.15, allocations: 0 / 3.662 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.01296/10.16, allocations: 2.266 MB / 3.664 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/10.16, allocations: 138.4 kB / 3.665 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/10.16, allocations: 0.557 MB / 3.665 GB, free: 19.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/10.16, allocations: 29.2 kB / 3.665 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/10.16, allocations: 473.4 kB / 3.666 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/10.16, allocations: 170.9 kB / 3.666 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/10.16, allocations: 0 / 3.666 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002444/10.16, allocations: 378.7 kB / 3.666 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/10.17, allocations: 324.4 kB / 3.666 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/10.17, allocations: 0.516 MB / 3.667 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005567/10.17, allocations: 0.9467 MB / 3.668 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/10.17, allocations: 3.969 kB / 3.668 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004587/10.18, allocations: 1.666 MB / 3.669 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001668/10.18, allocations: 2.272 MB / 3.672 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/10.18, allocations: 3.938 kB / 3.672 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/10.18, allocations: 476 kB / 3.672 GB, free: 32.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/10.18, allocations: 163.8 kB / 3.672 GB, free: 32.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/10.18, allocations: 1.344 MB / 3.674 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/10.18, allocations: 119.4 kB / 3.674 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/10.18, allocations: 47.34 kB / 3.674 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/10.18, allocations: 5.188 kB / 3.674 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00439/10.19, allocations: 1.478 MB / 3.675 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/10.19, allocations: 9.234 kB / 3.675 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/10.19, allocations: 378.6 kB / 3.676 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/10.19, allocations: 166 kB / 3.676 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/10.19, allocations: 1.079 MB / 3.677 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/10.19, allocations: 104.3 kB / 3.677 GB, free: 31.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/10.19, allocations: 44.78 kB / 3.677 GB, free: 31.35 MB / 0.5417 GB 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,pipe.statesFM[2].phase,sink.medium.phase,source.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.0002704/10.19, allocations: 124.5 kB / 3.677 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/10.19, allocations: 74.91 kB / 3.677 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/10.19, allocations: 1.852 MB / 3.679 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/10.19, allocations: 28.5 kB / 3.679 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/10.19, allocations: 0 / 3.679 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/10.2, allocations: 1.78 MB / 3.681 GB, free: 30.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/10.2, allocations: 2.841 MB / 3.683 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/10.2, allocations: 3.938 kB / 3.683 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/10.2, allocations: 118.6 kB / 3.684 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/10.2, allocations: 93.19 kB / 3.684 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/10.2, allocations: 13.44 kB / 3.684 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/10.2, allocations: 0.6661 MB / 3.684 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/10.2, allocations: 0 / 3.684 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/10.2, allocations: 1.982 MB / 3.686 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/10.2, allocations: 266 kB / 3.687 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/10.2, allocations: 3.375 kB / 3.687 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/10.21, allocations: 67.14 kB / 3.687 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/10.21, allocations: 42.19 kB / 3.687 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/10.21, allocations: 19.36 kB / 3.687 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005086/10.21, allocations: 425.6 kB / 3.687 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/10.21, allocations: 3.5 kB / 3.687 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007162/10.21, allocations: 1.64 MB / 3.689 GB, free: 28.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 11 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01028/10.22, allocations: 2.031 MB / 3.691 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002314/10.23, allocations: 1.408 MB / 3.692 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/10.23, allocations: 0 / 3.692 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/10.23, allocations: 0.5855 MB / 3.693 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/10.23, allocations: 328.1 kB / 3.693 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/10.23, allocations: 1.729 MB / 3.695 GB, free: 27.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/10.23, allocations: 1.174 MB / 3.696 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001777/10.23, allocations: 1.078 MB / 3.697 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/10.23, allocations: 63.83 kB / 3.697 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of SimCode: time 2.214e-06/10.23, allocations: 0 / 3.697 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.06408/10.3, allocations: 43.47 MB / 3.739 GB, free: 5.637 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1)