Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007201/0.0007201, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.005629/0.005629, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.347/1.347, allocations: 205.4 MB / 222.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2928/0.2928, allocations: 38.03 MB / 308.8 MB, free: 10.46 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.1. 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.0005092/0.0005091, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2266/0.3287, allocations: 64.01 MB / 498.6 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.3532, allocations: 25.72 MB / 0.512 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.3561, allocations: 38.62 kB / 0.512 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.3584, allocations: 0.6456 MB / 0.5127 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.3715, allocations: 3.841 MB / 0.5164 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.3829, allocations: 4.04 MB / 0.5204 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.3875, allocations: 3.501 MB / 0.5238 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009139/0.3885, allocations: 0.6161 MB / 0.5244 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.3901, allocations: 0.9683 MB / 0.5253 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3911, allocations: 0.7973 MB / 0.5261 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3913, allocations: 47.69 kB / 0.5262 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01806/0.4093, allocations: 8.021 MB / 0.534 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.41, allocations: 256.7 kB / 0.5342 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.4114, allocations: 0.6174 MB / 0.5348 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.427, allocations: 6.011 MB / 0.5407 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.427, allocations: 0 / 0.5407 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.427, allocations: 0 / 0.5407 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.317e-05/0.4271, allocations: 0 / 0.5407 GB, free: 15.97 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.005643/0.4327, allocations: 2.044 MB / 0.5427 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4328, allocations: 15.97 kB / 0.5427 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.4378, allocations: 0.6629 MB / 0.5434 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.439, allocations: 0.7455 MB / 0.5441 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.4391, allocations: 85.94 kB / 0.5442 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.4392, allocations: 84 kB / 0.5443 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.4434, allocations: 1.758 MB / 0.546 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4434, allocations: 0 / 0.546 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.4435, allocations: 48 kB / 0.546 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4436, allocations: 20 kB / 0.546 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.448, allocations: 1.682 MB / 0.5477 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008776/0.4568, allocations: 7.586 MB / 0.5551 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.4607, allocations: 1.321 MB / 0.5564 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4618, allocations: 478.2 kB / 0.5568 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04549/0.5073, allocations: 24.52 MB / 0.5808 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.5074, allocations: 43.12 kB / 0.5808 GB, free: 3.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 4.278e-06/0.5074, allocations: 0 / 0.5808 GB, free: 3.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.007311/0.5147, allocations: 2.238 MB / 0.583 GB, free: 1.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.5148, allocations: 222.1 kB / 0.5832 GB, free: 1.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5159, allocations: 0.8467 MB / 0.584 GB, free: 232 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/0.516, allocations: 37.7 kB / 0.5841 GB, free: 188 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.5163, allocations: 475.2 kB / 0.5845 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5165, allocations: 232.6 kB / 0.5848 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5166, allocations: 81.67 kB / 0.5848 GB, free: 15.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5167, allocations: 337.9 kB / 0.5852 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.5177, allocations: 405.7 kB / 0.5855 GB, free: 14.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5189, allocations: 0.6984 MB / 0.5862 GB, free: 13.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.521, allocations: 1.062 MB / 0.5873 GB, free: 12.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.521, allocations: 4 kB / 0.5873 GB, free: 12.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002611/0.5236, allocations: 1.207 MB / 0.5884 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.5239, allocations: 334.7 kB / 0.5888 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5239, allocations: 11.98 kB / 0.5888 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.5239, allocations: 12 kB / 0.5888 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.5248, allocations: 275.6 kB / 0.5891 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.5248, allocations: 15.94 kB / 0.5891 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.5259, allocations: 186.7 kB / 0.5892 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.526, allocations: 56.78 kB / 0.5893 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.526, allocations: 4 kB / 0.5893 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/0.5283, allocations: 1.061 MB / 0.5903 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5284, allocations: 12.91 kB / 0.5904 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5284, allocations: 12 kB / 0.5904 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.5292, allocations: 267.6 kB / 0.5906 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.5293, allocations: 19.94 kB / 0.5906 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.5301, allocations: 174.9 kB / 0.5908 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.5302, allocations: 59.47 kB / 0.5909 GB, free: 8.852 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.000444/0.5307, allocations: 345.3 kB / 0.5912 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5309, allocations: 110.7 kB / 0.5913 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005857/0.5367, allocations: 5.081 MB / 0.5963 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/0.5368, allocations: 63.89 kB / 0.5963 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5368, allocations: 0 / 0.5963 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5368, allocations: 3.984 kB / 0.5963 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.5393, allocations: 2.509 MB / 0.5988 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5393, allocations: 0 / 0.5988 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.5401, allocations: 243.7 kB / 0.599 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.5401, allocations: 4 kB / 0.599 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.5402, allocations: 19.98 kB / 0.599 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5402, allocations: 4 kB / 0.599 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5402, allocations: 3.938 kB / 0.599 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.5434, allocations: 2.407 MB / 0.6014 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000828/0.5443, allocations: 0.6836 MB / 0.6021 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.5445, allocations: 16 kB / 0.6021 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.5453, allocations: 111.8 kB / 0.6022 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.5454, allocations: 81.62 kB / 0.6023 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.5455, allocations: 35.92 kB / 0.6023 GB, free: 12.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.547, allocations: 1.202 MB / 0.6035 GB, free: 11.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.547, allocations: 4 kB / 0.6035 GB, free: 11.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004055/0.551, allocations: 1.53 MB / 0.605 GB, free: 10.2 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.004804/0.5558, allocations: 1.315 MB / 0.6062 GB, free: 8.875 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004345/0.5602, allocations: 2.065 MB / 0.6083 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5602, allocations: 0 / 0.6083 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.562, allocations: 1.167 MB / 0.6094 GB, free: 5.641 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.5654, allocations: 0.6071 MB / 0.61 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.5711, allocations: 4.939 MB / 0.6148 GB, free: 56 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009793/0.5721, allocations: 1.522 MB / 0.6163 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00218/0.5743, allocations: 1.592 MB / 0.6179 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.5746, allocations: 111.4 kB / 0.618 GB, free: 12.8 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5746, allocations: 0 / 0.618 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Templates: time 0.2337/0.8083, allocations: 56.15 MB / 0.6728 GB, free: 137.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) Environment - environmentSimulation: