Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.00101, allocations: 166.6 kB / 7.636 MB, free: 1.418 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.566/1.566, allocations: 170.7 MB / 178.7 MB, free: 15.56 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.001648/0.001648, allocations: 103.5 kB / 218 MB, free: 8.348 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.2255/0.2255, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.534e-05, allocations: 2.281 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.103/6.213, allocations: 2.496 GB / 2.886 GB, free: 16.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/6.213, allocations: 83.95 kB / 2.886 GB, free: 16.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.427/8.64, allocations: 0.5557 GB / 3.441 GB, free: 29.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/8.64, allocations: 3.844 kB / 3.442 GB, free: 29.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001793/8.641, allocations: 33.94 kB / 3.442 GB, free: 29.48 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01242/8.653, allocations: 2.464 MB / 3.444 GB, free: 28.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/8.653, allocations: 11.41 kB / 3.444 GB, free: 28.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007429/8.661, allocations: 0.8183 MB / 3.445 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/8.664, allocations: 1.072 MB / 3.446 GB, free: 28.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/8.664, allocations: 47.09 kB / 3.446 GB, free: 28.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004731/8.664, allocations: 66.03 kB / 3.446 GB, free: 28.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002912/8.667, allocations: 1.371 MB / 3.447 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/8.67, allocations: 1.359 MB / 3.449 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/8.67, allocations: 6.344 kB / 3.449 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/8.67, allocations: 10.2 kB / 3.449 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/8.67, allocations: 30.16 kB / 3.449 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9116/9.582, allocations: 231.1 MB / 3.674 GB, free: 24.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/9.584, allocations: 0.897 MB / 3.675 GB, free: 24.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/9.585, allocations: 380.8 kB / 3.676 GB, free: 24.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1042/9.689, allocations: 48.03 MB / 3.722 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/9.689, allocations: 40.97 kB / 3.722 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001332/9.691, allocations: 125.4 kB / 3.723 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 8.476e-06/9.691, allocations: 4 kB / 3.723 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.007295/9.698, allocations: 1.988 MB / 3.725 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/9.698, allocations: 190 kB / 3.725 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/9.7, allocations: 0.8213 MB / 3.726 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/9.7, allocations: 29.27 kB / 3.726 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/9.701, allocations: 0.6773 MB / 3.726 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/9.701, allocations: 282.5 kB / 3.727 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/9.701, allocations: 0 / 3.727 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002507/9.702, allocations: 364 kB / 3.727 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/9.702, allocations: 417.2 kB / 3.727 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/9.703, allocations: 0.8384 MB / 3.728 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/9.707, allocations: 0.9625 MB / 3.729 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/9.707, allocations: 5.312 kB / 3.729 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005542/9.713, allocations: 1.94 MB / 3.731 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002156/9.715, allocations: 4.97 MB / 3.736 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/9.715, allocations: 16.17 kB / 3.736 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00315/9.718, allocations: 0.6537 MB / 3.736 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/9.72, allocations: 444.5 kB / 3.737 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/9.722, allocations: 1.086 MB / 3.738 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/9.724, allocations: 221.7 kB / 3.738 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/9.724, allocations: 92.12 kB / 3.738 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/9.724, allocations: 4 kB / 3.738 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004474/9.729, allocations: 1.538 MB / 3.74 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/9.729, allocations: 12 kB / 3.74 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/9.729, allocations: 93.23 kB / 3.74 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/9.731, allocations: 473.1 kB / 3.74 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/9.733, allocations: 1.701 MB / 3.742 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/9.735, allocations: 178.5 kB / 3.742 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/9.735, allocations: 91.59 kB / 3.742 GB, free: 10.39 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 () * 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.0004068/9.735, allocations: 150 kB / 3.742 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/9.736, allocations: 130.2 kB / 3.742 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/9.743, allocations: 3.694 MB / 3.746 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/9.743, allocations: 41.34 kB / 3.746 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/9.743, allocations: 0 / 3.746 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/9.743, allocations: 3.703 kB / 3.746 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/9.746, allocations: 1.755 MB / 3.748 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/9.746, allocations: 0 / 3.748 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/9.746, allocations: 178.4 kB / 3.748 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/9.75, allocations: 1.815 MB / 3.75 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/9.75, allocations: 17.64 kB / 3.75 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/9.753, allocations: 1.829 MB / 3.752 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/9.753, allocations: 3.953 kB / 3.752 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/9.758, allocations: 2.455 MB / 3.754 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/9.759, allocations: 0.5511 MB / 3.754 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/9.76, allocations: 0 / 3.754 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/9.761, allocations: 104.4 kB / 3.755 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/9.761, allocations: 69.27 kB / 3.755 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/9.761, allocations: 40.64 kB / 3.755 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002031/9.763, allocations: 1.033 MB / 3.756 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.172e-06/9.763, allocations: 4 kB / 3.756 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0108/9.774, allocations: 1.726 MB / 3.757 GB, free: 0.5156 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: 18 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse32.phase,$cse32.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 76 * 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 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.3626/10.14, allocations: 2.015 MB / 3.759 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004822/10.14, allocations: 2.129 MB / 3.761 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/10.14, allocations: 0 / 3.761 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/10.14, allocations: 0.7873 MB / 3.762 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/10.15, allocations: 491.8 kB / 3.763 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/10.15, allocations: 2.442 MB / 3.765 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/10.15, allocations: 1.472 MB / 3.766 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004901/10.16, allocations: 2.136 MB / 3.769 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/10.16, allocations: 122.9 kB / 3.769 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/10.16, allocations: 0 / 3.769 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.07735/10.23, allocations: 48.58 MB / 3.816 GB, free: 103.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1)