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.001059/0.001059, allocations: 170.5 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.104/1.104, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001557/0.001557, allocations: 102.8 kB / 223.2 MB, free: 4.047 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.164/0.164, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.413e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/4.778, allocations: 2.497 GB / 2.893 GB, free: 5.859 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/4.779, allocations: 79.95 kB / 2.893 GB, free: 5.781 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.982/6.761, allocations: 0.561 GB / 3.454 GB, free: 39.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/6.761, allocations: 0 / 3.454 GB, free: 39.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.066e-05/6.761, allocations: 34.36 kB / 3.454 GB, free: 39.38 MB / 458.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.008813/6.77, allocations: 2.46 MB / 3.457 GB, free: 38.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/6.77, allocations: 11.62 kB / 3.457 GB, free: 38.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/6.776, allocations: 0.8212 MB / 3.457 GB, free: 38.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/6.778, allocations: 1.065 MB / 3.459 GB, free: 37.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.844e-05/6.779, allocations: 98.67 kB / 3.459 GB, free: 37.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/6.779, allocations: 118.2 kB / 3.459 GB, free: 37.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/6.783, allocations: 2.152 MB / 3.461 GB, free: 37.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/6.783, allocations: 6.781 kB / 3.461 GB, free: 37.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/6.783, allocations: 53.03 kB / 3.461 GB, free: 37.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/6.783, allocations: 38.38 kB / 3.461 GB, free: 37.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/6.787, allocations: 1.967 MB / 3.463 GB, free: 37.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009399/6.797, allocations: 8.878 MB / 3.472 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/6.801, allocations: 1.75 MB / 3.473 GB, free: 32.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/6.802, allocations: 0.4929 MB / 3.474 GB, free: 32.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09079/6.892, allocations: 49.42 MB / 3.522 GB, free: 19.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/6.892, allocations: 49.91 kB / 3.522 GB, free: 19.3 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009732/6.893, allocations: 142.8 kB / 3.522 GB, free: 19.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 4.468e-06/6.893, allocations: 0.8438 kB / 3.522 GB, free: 19.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.006633/6.9, allocations: 2.388 MB / 3.524 GB, free: 19.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/6.9, allocations: 199.1 kB / 3.525 GB, free: 18.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/6.901, allocations: 0.7714 MB / 3.525 GB, free: 18.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/6.901, allocations: 49.89 kB / 3.525 GB, free: 18.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/6.902, allocations: 0.612 MB / 3.526 GB, free: 18.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/6.902, allocations: 361.3 kB / 3.526 GB, free: 18.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/6.902, allocations: 31.22 kB / 3.526 GB, free: 18.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/6.902, allocations: 361.8 kB / 3.527 GB, free: 17.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/6.903, allocations: 441.3 kB / 3.527 GB, free: 17.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/6.904, allocations: 0.8683 MB / 3.528 GB, free: 17.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008744/6.905, allocations: 0.5526 MB / 3.529 GB, free: 17.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/6.905, allocations: 4.156 kB / 3.529 GB, free: 17.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002653/6.908, allocations: 1.624 MB / 3.53 GB, free: 17.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002158/6.91, allocations: 4.97 MB / 3.535 GB, free: 27.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/6.91, allocations: 13.75 kB / 3.535 GB, free: 27.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006266/6.916, allocations: 1.08 MB / 3.536 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/6.918, allocations: 441.9 kB / 3.537 GB, free: 27.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/6.919, allocations: 0.9369 MB / 3.537 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/6.92, allocations: 171.9 kB / 3.538 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/6.921, allocations: 96.88 kB / 3.538 GB, free: 27.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/6.921, allocations: 3.719 kB / 3.538 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/6.923, allocations: 1.402 MB / 3.539 GB, free: 27.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/6.923, allocations: 11.66 kB / 3.539 GB, free: 27.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/6.924, allocations: 94.69 kB / 3.539 GB, free: 27.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/6.925, allocations: 477.7 kB / 3.54 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/6.927, allocations: 1.756 MB / 3.541 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/6.929, allocations: 177.8 kB / 3.542 GB, free: 25.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/6.929, allocations: 86.73 kB / 3.542 GB, free: 25.86 MB / 490.7 MB 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.0003581/6.929, allocations: 197.7 kB / 3.542 GB, free: 25.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/6.929, allocations: 125.1 kB / 3.542 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/6.936, allocations: 6.417 MB / 3.548 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/6.936, allocations: 85.14 kB / 3.548 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/6.936, allocations: 3.812 kB / 3.548 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/6.936, allocations: 6.094 kB / 3.548 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/6.939, allocations: 2.885 MB / 3.551 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/6.939, allocations: 0 / 3.551 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008938/6.939, allocations: 289.4 kB / 3.551 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005736/6.945, allocations: 2.256 MB / 3.554 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/6.945, allocations: 35.17 kB / 3.554 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/6.947, allocations: 1.6 MB / 3.555 GB, free: 23.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.947, allocations: 3.953 kB / 3.555 GB, free: 23.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/6.951, allocations: 3.4 MB / 3.558 GB, free: 23.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/6.952, allocations: 0.5972 MB / 3.559 GB, free: 23.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/6.952, allocations: 29.47 kB / 3.559 GB, free: 23.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/6.953, allocations: 137.9 kB / 3.559 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/6.953, allocations: 103.5 kB / 3.559 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/6.953, allocations: 63.16 kB / 3.559 GB, free: 23.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009874/6.954, allocations: 0.7519 MB / 3.56 GB, free: 23.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/6.954, allocations: 0 / 3.56 GB, free: 23.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006837/6.961, allocations: 1.781 MB / 3.562 GB, free: 22.82 MB / 490.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: 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 () * 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.007853/6.969, allocations: 1.875 MB / 3.564 GB, free: 22.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004413/6.973, allocations: 2.776 MB / 3.566 GB, free: 22.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/6.973, allocations: 0 / 3.566 GB, free: 22.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/6.975, allocations: 1.503 MB / 3.568 GB, free: 22.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/6.978, allocations: 0.5952 MB / 3.568 GB, free: 22.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5189/7.497, allocations: 169.4 MB / 3.734 GB, free: 50.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/7.498, allocations: 1.711 MB / 3.735 GB, free: 49.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00284/7.501, allocations: 1.746 MB / 3.737 GB, free: 48.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/7.501, allocations: 125.2 kB / 3.737 GB, free: 48.09 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/7.501, allocations: 1.781 kB / 3.737 GB, free: 48.09 MB / 490.7 MB Notification: Performance of Templates: time 0.3388/7.84, allocations: 62.71 MB / 3.799 GB, free: 60.93 MB / 490.7 MB 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)