Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009016/0.009016, allocations: 174.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.862/1.862, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.002072/0.002072, allocations: 112.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2159/0.2159, allocations: 40.03 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 11.5 kB / 406.2 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.086/5.208, allocations: 2.608 GB / 3.058 GB, free: 153.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/5.209, allocations: 92.67 kB / 3.058 GB, free: 153.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344/7.553, allocations: 0.5753 GB / 3.633 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.387e-06/7.553, allocations: 2 kB / 3.633 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000199/7.553, allocations: 36.92 kB / 3.633 GB, free: 43.95 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01321/7.566, allocations: 2.713 MB / 3.636 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.424e-05/7.566, allocations: 7.812 kB / 3.636 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0077/7.574, allocations: 0.8636 MB / 3.637 GB, free: 42.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/7.577, allocations: 1.072 MB / 3.638 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/7.578, allocations: 104.7 kB / 3.638 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005386/7.578, allocations: 117.8 kB / 3.638 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/7.585, allocations: 2.204 MB / 3.64 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/7.585, allocations: 9.062 kB / 3.64 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/7.585, allocations: 51.12 kB / 3.64 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/7.585, allocations: 30.34 kB / 3.64 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00599/7.591, allocations: 2.18 MB / 3.642 GB, free: 42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/7.603, allocations: 8.888 MB / 3.651 GB, free: 36.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/7.608, allocations: 1.934 MB / 3.653 GB, free: 36.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1193/7.728, allocations: 49.23 MB / 3.701 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.187e-05/7.728, allocations: 52.84 kB / 3.701 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001917/7.73, allocations: 141.9 kB / 3.701 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 1.078e-05/7.73, allocations: 0 / 3.701 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.0211/7.751, allocations: 3.982 MB / 3.705 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/7.751, allocations: 194.1 kB / 3.705 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/7.753, allocations: 0.7862 MB / 3.706 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/7.754, allocations: 47.61 kB / 3.706 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/7.754, allocations: 0.6132 MB / 3.707 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/7.755, allocations: 357.7 kB / 3.707 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/7.755, allocations: 32.44 kB / 3.707 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002163/7.755, allocations: 366 kB / 3.708 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/7.757, allocations: 0.6118 MB / 3.708 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/7.76, allocations: 1.06 MB / 3.709 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/7.762, allocations: 0.7263 MB / 3.71 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/7.762, allocations: 3.844 kB / 3.71 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006413/7.768, allocations: 1.999 MB / 3.712 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002861/7.771, allocations: 4.97 MB / 3.717 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/7.771, allocations: 13.78 kB / 3.717 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009033/7.78, allocations: 1.091 MB / 3.718 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/7.783, allocations: 434.7 kB / 3.718 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/7.784, allocations: 0.9306 MB / 3.719 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/7.787, allocations: 182.8 kB / 3.719 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/7.787, allocations: 89.97 kB / 3.719 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/7.787, allocations: 3.875 kB / 3.719 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/7.792, allocations: 1.776 MB / 3.721 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/7.792, allocations: 11.81 kB / 3.721 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/7.792, allocations: 92.5 kB / 3.721 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/7.794, allocations: 477.7 kB / 3.722 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/7.796, allocations: 1.771 MB / 3.723 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/7.798, allocations: 180.1 kB / 3.724 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/7.799, allocations: 84.7 kB / 3.724 GB, free: 13.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001345/7.8, allocations: 391.7 kB / 3.724 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/7.801, allocations: 128.5 kB / 3.724 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/7.811, allocations: 6.703 MB / 3.731 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.462e-05/7.811, allocations: 87.56 kB / 3.731 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/7.811, allocations: 2.938 kB / 3.731 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/7.811, allocations: 8.438 kB / 3.731 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/7.816, allocations: 2.881 MB / 3.734 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/7.816, allocations: 0 / 3.734 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/7.817, allocations: 286.1 kB / 3.734 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/7.824, allocations: 2.071 MB / 3.736 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/7.824, allocations: 38.62 kB / 3.736 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/7.826, allocations: 1.605 MB / 3.737 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/7.826, allocations: 0 / 3.737 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/7.832, allocations: 3.716 MB / 3.741 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/7.834, allocations: 0.5928 MB / 3.742 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/7.834, allocations: 31.16 kB / 3.742 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/7.836, allocations: 146.1 kB / 3.742 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/7.836, allocations: 106.9 kB / 3.742 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/7.836, allocations: 46.36 kB / 3.742 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001586/7.838, allocations: 0.7679 MB / 3.743 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/7.838, allocations: 0 / 3.743 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01299/7.851, allocations: 1.799 MB / 3.744 GB, free: 10.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/7.863, allocations: 1.871 MB / 3.746 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008258/7.872, allocations: 3.272 MB / 3.75 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/7.872, allocations: 0 / 3.75 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/7.875, allocations: 1.658 MB / 3.751 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/7.879, allocations: 0.5878 MB / 3.752 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7219/8.6, allocations: 175.3 MB / 3.923 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/8.602, allocations: 1.712 MB / 3.925 GB, free: 52.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003231/8.605, allocations: 1.702 MB / 3.926 GB, free: 51.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/8.605, allocations: 133.6 kB / 3.926 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.275e-06/8.605, allocations: 0 / 3.926 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.5784/9.184, allocations: 59.1 MB / 3.984 GB, free: 64.65 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1)