Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002723/0.002722, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.857/3.857, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003477/0.003477, allocations: 228.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5099/0.5099, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006679/0.0006686, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1019, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.357/8.459, allocations: 2.607 GB / 3.287 GB, free: 37.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/8.459, allocations: 96.55 kB / 3.287 GB, free: 37.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228/9.687, allocations: 235 MB / 3.517 GB, free: 3.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/9.687, allocations: 0 / 3.517 GB, free: 3.523 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.118e-05/9.687, allocations: 11.98 kB / 3.517 GB, free: 3.512 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006553/9.694, allocations: 1.332 MB / 3.518 GB, free: 2.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/9.694, allocations: 8.031 kB / 3.518 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/9.697, allocations: 251.2 kB / 3.518 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/9.698, allocations: 436 kB / 3.519 GB, free: 1.406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/9.698, allocations: 32.61 kB / 3.519 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/9.698, allocations: 39.98 kB / 3.519 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/9.7, allocations: 0.634 MB / 3.519 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/9.7, allocations: 0 / 3.519 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/9.7, allocations: 19.94 kB / 3.519 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/9.7, allocations: 8 kB / 3.519 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3503/10.05, allocations: 0.579 MB / 3.52 GB, free: 68.25 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004385/10.06, allocations: 2.64 MB / 3.523 GB, free: 66.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/10.06, allocations: 0.5329 MB / 3.523 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/10.06, allocations: 167.5 kB / 3.523 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2028/10.26, allocations: 54.86 MB / 3.577 GB, free: 36.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/10.26, allocations: 44.12 kB / 3.577 GB, free: 36.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.467e-06/10.26, allocations: 0 / 3.577 GB, free: 36.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.003832/10.27, allocations: 0.784 MB / 3.578 GB, free: 35.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/10.27, allocations: 106.7 kB / 3.578 GB, free: 35.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/10.27, allocations: 369.7 kB / 3.578 GB, free: 35.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/10.27, allocations: 32.77 kB / 3.578 GB, free: 35.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/10.27, allocations: 240.5 kB / 3.578 GB, free: 35.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/10.27, allocations: 103.8 kB / 3.578 GB, free: 35.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/10.27, allocations: 8.75 kB / 3.578 GB, free: 35.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/10.27, allocations: 349.3 kB / 3.579 GB, free: 35.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/10.27, allocations: 147.8 kB / 3.579 GB, free: 35.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/10.27, allocations: 314 kB / 3.579 GB, free: 35.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/10.27, allocations: 185.8 kB / 3.579 GB, free: 35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/10.27, allocations: 0 / 3.579 GB, free: 35 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001682/10.27, allocations: 0.5019 MB / 3.58 GB, free: 34.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/10.27, allocations: 229 kB / 3.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/10.27, allocations: 7.625 kB / 3.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/10.27, allocations: 14.33 kB / 3.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/10.27, allocations: 114.8 kB / 3.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/10.27, allocations: 11.19 kB / 3.58 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/10.27, allocations: 69.19 kB / 3.58 GB, free: 34.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/10.27, allocations: 27.45 kB / 3.58 GB, free: 34.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/10.27, allocations: 3.906 kB / 3.58 GB, free: 34.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/10.27, allocations: 445 kB / 3.581 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/10.27, allocations: 3.781 kB / 3.581 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/10.27, allocations: 10.72 kB / 3.581 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/10.27, allocations: 114.9 kB / 3.581 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/10.27, allocations: 6.969 kB / 3.581 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/10.28, allocations: 68.92 kB / 3.581 GB, free: 34.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/10.28, allocations: 27.03 kB / 3.581 GB, free: 34.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.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 (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/10.28, allocations: 250.4 kB / 3.581 GB, free: 34.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/10.28, allocations: 41.66 kB / 3.581 GB, free: 34.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/10.28, allocations: 1.942 MB / 3.583 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-05/10.28, allocations: 33.25 kB / 3.583 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/10.28, allocations: 2.844 kB / 3.583 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/10.28, allocations: 0 / 3.583 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/10.28, allocations: 1.027 MB / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/10.28, allocations: 0 / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/10.28, allocations: 84.95 kB / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/10.28, allocations: 3.062 kB / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/10.28, allocations: 10.81 kB / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/10.28, allocations: 0 / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/10.28, allocations: 4 kB / 3.584 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/10.28, allocations: 1.105 MB / 3.585 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/10.28, allocations: 259.5 kB / 3.586 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/10.28, allocations: 3.375 kB / 3.586 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/10.28, allocations: 48.7 kB / 3.586 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/10.28, allocations: 32.92 kB / 3.586 GB, free: 33.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/10.28, allocations: 11.05 kB / 3.586 GB, free: 33.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00052/10.28, allocations: 319.3 kB / 3.586 GB, free: 33.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.28, allocations: 0 / 3.586 GB, free: 33.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005755/10.29, allocations: 1.163 MB / 3.587 GB, free: 33.47 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009997/10.3, allocations: 1.429 MB / 3.589 GB, free: 33.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/10.3, allocations: 0.86 MB / 3.589 GB, free: 33.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/10.3, allocations: 0 / 3.589 GB, free: 33.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/10.3, allocations: 0.5146 MB / 3.59 GB, free: 33.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/10.31, allocations: 216.1 kB / 3.59 GB, free: 33.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/10.42, allocations: 44.09 MB / 3.633 GB, free: 30.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/10.42, allocations: 1.006 MB / 3.634 GB, free: 30.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001356/10.42, allocations: 0.5152 MB / 3.635 GB, free: 30.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/10.42, allocations: 50.16 kB / 3.635 GB, free: 30.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/10.42, allocations: 4 kB / 3.635 GB, free: 30.12 MB / 490.7 MB Notification: Performance of Templates: time 0.07067/10.49, allocations: 34.69 MB / 3.669 GB, free: 25.44 MB / 490.7 MB