Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001517, allocations: 179 kB / 8.364 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 86.83 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3074/0.3074, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.747e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3905, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.944/8.335, allocations: 2.772 GB / 3.237 GB, free: 15.56 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/8.335, allocations: 83.45 kB / 3.238 GB, free: 15.52 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/11.32, allocations: 0.5721 GB / 3.81 GB, free: 34.47 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.164e-06/11.32, allocations: 0 / 3.81 GB, free: 34.47 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001579/11.32, allocations: 41.34 kB / 3.81 GB, free: 34.47 MB / 0.5108 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.01447/11.33, allocations: 2.541 MB / 3.812 GB, free: 32.85 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/11.33, allocations: 10.53 kB / 3.812 GB, free: 32.85 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009854/11.34, allocations: 0.8697 MB / 3.813 GB, free: 32.48 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/11.35, allocations: 1.037 MB / 3.814 GB, free: 31.7 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/11.35, allocations: 42.94 kB / 3.814 GB, free: 31.7 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/11.35, allocations: 69.28 kB / 3.814 GB, free: 31.7 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004037/11.35, allocations: 1.378 MB / 3.816 GB, free: 31.08 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/11.35, allocations: 1.369 MB / 3.817 GB, free: 30.14 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/11.35, allocations: 7.781 kB / 3.817 GB, free: 30.14 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/11.35, allocations: 3.812 kB / 3.817 GB, free: 30.14 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/11.35, allocations: 29.22 kB / 3.817 GB, free: 30.14 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5379/11.89, allocations: 46.47 MB / 3.862 GB, free: 59.26 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/11.9, allocations: 1.168 MB / 3.863 GB, free: 59.23 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/11.9, allocations: 0.4934 MB / 3.864 GB, free: 59.22 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05399/11.95, allocations: 16.42 MB / 3.88 GB, free: 49.19 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/11.95, allocations: 50.34 kB / 3.88 GB, free: 49.14 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00144/11.95, allocations: 113.9 kB / 3.88 GB, free: 49.14 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=103): time 5.4e-06/11.95, allocations: 0.75 kB / 3.88 GB, free: 49.14 MB / 0.5265 GB Notification: Performance of matching and sorting (n=103): time 0.01411/11.97, allocations: 2.39 MB / 3.882 GB, free: 49.05 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/11.97, allocations: 193.7 kB / 3.883 GB, free: 48.84 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/11.97, allocations: 0.7151 MB / 3.883 GB, free: 48.68 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0003708/11.97, allocations: 25.7 kB / 3.883 GB, free: 48.65 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/11.97, allocations: 0.6002 MB / 3.884 GB, free: 48.36 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/11.97, allocations: 337.7 kB / 3.884 GB, free: 48.19 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/11.97, allocations: 0.9375 kB / 3.884 GB, free: 48.19 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001161/11.97, allocations: 367.9 kB / 3.885 GB, free: 47.88 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/11.97, allocations: 439.8 kB / 3.885 GB, free: 47.88 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/11.97, allocations: 0.7424 MB / 3.886 GB, free: 47.54 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006864/11.98, allocations: 0.987 MB / 3.887 GB, free: 47.53 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/11.98, allocations: 2.719 kB / 3.887 GB, free: 47.53 MB / 0.5265 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.009903/11.99, allocations: 1.881 MB / 3.889 GB, free: 47.43 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006834/11.99, allocations: 3.141 MB / 3.892 GB, free: 44.17 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/11.99, allocations: 8.75 kB / 3.892 GB, free: 44.17 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006539/12, allocations: 0.6891 MB / 3.892 GB, free: 44.16 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/12, allocations: 415.8 kB / 3.893 GB, free: 44.16 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/12, allocations: 1.095 MB / 3.894 GB, free: 43.63 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/12.01, allocations: 155.2 kB / 3.894 GB, free: 43.62 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/12.01, allocations: 86.38 kB / 3.894 GB, free: 43.62 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/12.01, allocations: 3.781 kB / 3.894 GB, free: 43.62 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007616/12.02, allocations: 1.517 MB / 3.895 GB, free: 43.58 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/12.02, allocations: 14.8 kB / 3.895 GB, free: 43.58 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/12.02, allocations: 77.19 kB / 3.896 GB, free: 43.57 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/12.02, allocations: 452 kB / 3.896 GB, free: 43.57 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/12.02, allocations: 1.684 MB / 3.898 GB, free: 42.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/12.02, allocations: 141.7 kB / 3.898 GB, free: 42.27 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/12.02, allocations: 78.56 kB / 3.898 GB, free: 42.27 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (148): * Single equations (assignments): 147 * 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.000518/12.03, allocations: 147.4 kB / 3.898 GB, free: 42.15 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/12.03, allocations: 126.5 kB / 3.898 GB, free: 42.09 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/12.04, allocations: 5.348 MB / 3.903 GB, free: 41.59 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/12.04, allocations: 52.38 kB / 3.903 GB, free: 41.59 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/12.04, allocations: 3.953 kB / 3.903 GB, free: 41.59 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/12.04, allocations: 7.5 kB / 3.903 GB, free: 41.59 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/12.05, allocations: 6.638 MB / 3.91 GB, free: 41.05 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/12.05, allocations: 0 / 3.91 GB, free: 41.05 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/12.05, allocations: 287.5 kB / 3.91 GB, free: 41.05 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005582/12.06, allocations: 1.872 MB / 3.912 GB, free: 40.99 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/12.06, allocations: 25.2 kB / 3.912 GB, free: 40.98 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/12.06, allocations: 1.858 MB / 3.914 GB, free: 40.42 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/12.06, allocations: 3.656 kB / 3.914 GB, free: 40.42 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008087/12.07, allocations: 2.994 MB / 3.917 GB, free: 39.96 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/12.07, allocations: 0.7784 MB / 3.917 GB, free: 39.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/12.07, allocations: 0 / 3.917 GB, free: 39.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/12.08, allocations: 106.5 kB / 3.918 GB, free: 39.64 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/12.08, allocations: 134.9 kB / 3.918 GB, free: 39.64 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/12.08, allocations: 47.8 kB / 3.918 GB, free: 39.64 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.002454/12.08, allocations: 1.243 MB / 3.919 GB, free: 39.49 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.713e-06/12.08, allocations: 0 / 3.919 GB, free: 39.49 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.009627/12.09, allocations: 1.801 MB / 3.921 GB, free: 39.37 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse30.phase,$cse30.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse62.phase,$cse62.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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.01164/12.1, allocations: 2.042 MB / 3.923 GB, free: 39.16 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.005835/12.11, allocations: 2.321 MB / 3.925 GB, free: 39.02 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.862e-06/12.11, allocations: 0 / 3.925 GB, free: 39.02 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/12.11, allocations: 1.086 MB / 3.926 GB, free: 39 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/12.11, allocations: 0.556 MB / 3.927 GB, free: 38.97 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/12.12, allocations: 3.268 MB / 3.93 GB, free: 38.11 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/12.12, allocations: 1.67 MB / 3.931 GB, free: 37.37 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007983/12.12, allocations: 135.3 kB / 3.932 GB, free: 37.36 MB / 0.5265 GB Notification: Performance of SimCode: time 2.224e-06/12.12, allocations: 0 / 3.932 GB, free: 37.36 MB / 0.5265 GB Notification: Performance of Templates: time 0.1109/12.23, allocations: 55.42 MB / 3.986 GB, free: 33.25 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1)