Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007972/0.007972, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4019/0.4019, allocations: 40 MB / 310.7 MB, free: 9.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005746/0.0005748, allocations: 18.97 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 57.96 MB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.3193/0.449, allocations: 64.02 MB / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0331/0.4822, allocations: 25.72 MB / 0.5148 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.485, allocations: 35.09 kB / 0.5148 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.488, allocations: 0.6375 MB / 0.5154 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.5051, allocations: 3.843 MB / 0.5192 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.5209, allocations: 4.038 MB / 0.5231 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00689/0.5278, allocations: 3.505 MB / 0.5266 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.5297, allocations: 0.6156 MB / 0.5272 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.5331, allocations: 0.9643 MB / 0.5281 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.5356, allocations: 0.8067 MB / 0.5289 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005694/0.5362, allocations: 47.38 kB / 0.5289 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02313/0.5593, allocations: 8.017 MB / 0.5368 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008317/0.5602, allocations: 259.9 kB / 0.537 GB, free: 500 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.562, allocations: 0.6214 MB / 0.5376 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.5793, allocations: 6.01 MB / 0.5435 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5793, allocations: 0 / 0.5435 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.5794, allocations: 0 / 0.5435 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.366e-05/0.5794, allocations: 7.875 kB / 0.5435 GB, free: 11.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006416/0.5858, allocations: 2.03 MB / 0.5455 GB, free: 9.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.5859, allocations: 8.031 kB / 0.5455 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.5915, allocations: 0.6669 MB / 0.5461 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5931, allocations: 0.7454 MB / 0.5469 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5933, allocations: 81.94 kB / 0.5469 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5934, allocations: 88 kB / 0.547 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/0.598, allocations: 1.762 MB / 0.5488 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.598, allocations: 8.438 kB / 0.5488 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.5981, allocations: 40 kB / 0.5488 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.5982, allocations: 24 kB / 0.5488 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/0.6027, allocations: 1.678 MB / 0.5505 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009822/0.6126, allocations: 7.59 MB / 0.5579 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.6167, allocations: 1.325 MB / 0.5592 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6179, allocations: 475.5 kB / 0.5596 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05001/0.6679, allocations: 24.52 MB / 0.5836 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/0.668, allocations: 43.12 kB / 0.5836 GB, free: 14.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=67): time 2.495e-06/0.668, allocations: 3.938 kB / 0.5836 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.007798/0.6758, allocations: 2.234 MB / 0.5858 GB, free: 12.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.676, allocations: 218.2 kB / 0.586 GB, free: 12.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.677, allocations: 0.8351 MB / 0.5868 GB, free: 11.51 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.6771, allocations: 37.7 kB / 0.5869 GB, free: 11.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.6775, allocations: 491.1 kB / 0.5873 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.6777, allocations: 224.8 kB / 0.5875 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6778, allocations: 81.67 kB / 0.5876 GB, free: 10.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.678, allocations: 337.9 kB / 0.5879 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.679, allocations: 405.7 kB / 0.5883 GB, free: 9.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.6802, allocations: 0.6945 MB / 0.589 GB, free: 9.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.6824, allocations: 1.066 MB / 0.59 GB, free: 7.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6824, allocations: 0 / 0.59 GB, free: 7.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002918/0.6854, allocations: 1.211 MB / 0.5912 GB, free: 6.719 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003208/0.6857, allocations: 338.5 kB / 0.5915 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6857, allocations: 8 kB / 0.5916 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.6858, allocations: 12 kB / 0.5916 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.6867, allocations: 267.6 kB / 0.5918 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.6867, allocations: 15.94 kB / 0.5918 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6879, allocations: 186.7 kB / 0.592 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.688, allocations: 59.91 kB / 0.5921 GB, free: 5.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.688, allocations: 7.938 kB / 0.5921 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/0.6905, allocations: 1.061 MB / 0.5931 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.6906, allocations: 12 kB / 0.5931 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.6906, allocations: 12 kB / 0.5931 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/0.6915, allocations: 272.1 kB / 0.5934 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.6915, allocations: 15.94 kB / 0.5934 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6927, allocations: 178.9 kB / 0.5936 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/0.6928, allocations: 51.98 kB / 0.5936 GB, free: 4.129 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SinkP3.medium.phase,SourceP3.medium.phase,SinkP2.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SourceP1.medium.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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006902/0.6935, allocations: 337.3 kB / 0.594 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.6937, allocations: 110.7 kB / 0.5941 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006517/0.7003, allocations: 5.084 MB / 0.599 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.266e-05/0.7004, allocations: 63.89 kB / 0.5991 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7004, allocations: 4 kB / 0.5991 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.7004, allocations: 3.984 kB / 0.5991 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.7036, allocations: 2.509 MB / 0.6015 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7036, allocations: 0 / 0.6015 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.7045, allocations: 231.7 kB / 0.6018 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.7045, allocations: 8 kB / 0.6018 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.7045, allocations: 27.92 kB / 0.6018 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.7046, allocations: 4 kB / 0.6018 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7046, allocations: 0 / 0.6018 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.7083, allocations: 2.407 MB / 0.6042 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/0.7093, allocations: 0.6875 MB / 0.6048 GB, free: 8.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.7095, allocations: 16 kB / 0.6048 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.7103, allocations: 111.8 kB / 0.6049 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7105, allocations: 76.88 kB / 0.605 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.7105, allocations: 39.92 kB / 0.6051 GB, free: 8.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.7122, allocations: 1.198 MB / 0.6062 GB, free: 7.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7122, allocations: 0 / 0.6062 GB, free: 7.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005565/0.7178, allocations: 1.526 MB / 0.6077 GB, free: 5.492 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.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 (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006255/0.7241, allocations: 1.33 MB / 0.609 GB, free: 4.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.7286, allocations: 2.061 MB / 0.611 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.7287, allocations: 4 kB / 0.611 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.7303, allocations: 1.167 MB / 0.6122 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.7338, allocations: 0.6071 MB / 0.6128 GB, free: 320 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/0.7398, allocations: 4.935 MB / 0.6176 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.7409, allocations: 1.525 MB / 0.6191 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00246/0.7434, allocations: 1.592 MB / 0.6206 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.7436, allocations: 111.4 kB / 0.6207 GB, free: 8.082 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7437, allocations: 0 / 0.6207 GB, free: 8.082 MB / 494.1 MB Notification: Performance of Templates: time 0.3302/1.074, allocations: 56.16 MB / 0.6756 GB, free: 132.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) Environment - environmentSimulation: