Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008165, allocations: 97.72 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.004958/0.004958, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.322/1.322, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.2784/0.2784, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0005077/0.0005077, allocations: 20 kB / 377.1 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09977, allocations: 57.52 MB / 434.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.2425/0.3423, allocations: 60.52 MB / 495.1 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3528, allocations: 7.849 MB / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.3551, allocations: 49.81 kB / 0.4912 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.3569, allocations: 428.8 kB / 0.4916 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.3651, allocations: 3.421 MB / 0.495 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.3694, allocations: 1.981 MB / 0.4969 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004105/0.3735, allocations: 3.709 MB / 0.5005 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3749, allocations: 0.8201 MB / 0.5013 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006936/0.3818, allocations: 4.676 MB / 0.5059 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/0.3861, allocations: 2.852 MB / 0.5087 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.3864, allocations: 59.19 kB / 0.5087 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006545/0.3929, allocations: 3.618 MB / 0.5123 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.3934, allocations: 280.4 kB / 0.5125 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.3944, allocations: 0.6628 MB / 0.5132 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.3987, allocations: 2.702 MB / 0.5158 GB, free: 4.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3987, allocations: 0 / 0.5158 GB, free: 4.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3987, allocations: 0 / 0.5158 GB, free: 4.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3987, allocations: 7.938 kB / 0.5158 GB, free: 4.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003128/0.4018, allocations: 1.629 MB / 0.5174 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4019, allocations: 8.938 kB / 0.5174 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.4044, allocations: 318 kB / 0.5177 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4054, allocations: 0.7831 MB / 0.5185 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.4055, allocations: 63.78 kB / 0.5185 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4056, allocations: 96.09 kB / 0.5186 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.4081, allocations: 1.232 MB / 0.5198 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4081, allocations: 5.25 kB / 0.5198 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/0.4082, allocations: 39.38 kB / 0.5199 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.4082, allocations: 21.12 kB / 0.5199 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.4107, allocations: 1.033 MB / 0.5209 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/0.4165, allocations: 5.439 MB / 0.5262 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.4185, allocations: 0.674 MB / 0.5269 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.4192, allocations: 365.6 kB / 0.5272 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.4211, allocations: 2.602 MB / 0.5298 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4211, allocations: 42.41 kB / 0.5298 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005714/0.4217, allocations: 111.4 kB / 0.5299 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.4217, allocations: 0 / 0.5299 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.005517/0.4272, allocations: 1.724 MB / 0.5316 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.4273, allocations: 187 kB / 0.5318 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4284, allocations: 0.974 MB / 0.5327 GB, free: 7.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.4284, allocations: 37.7 kB / 0.5328 GB, free: 7.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.4288, allocations: 0.5075 MB / 0.5333 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4289, allocations: 224.8 kB / 0.5335 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4291, allocations: 65.69 kB / 0.5335 GB, free: 6.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4292, allocations: 341.9 kB / 0.5339 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.4299, allocations: 369.8 kB / 0.5342 GB, free: 5.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.4309, allocations: 0.5729 MB / 0.5348 GB, free: 4.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4325, allocations: 0.9162 MB / 0.5357 GB, free: 3.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4326, allocations: 0 / 0.5357 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002398/0.435, allocations: 1.223 MB / 0.5369 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.4351, allocations: 233.3 kB / 0.5371 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4352, allocations: 4 kB / 0.5371 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005792/0.441, allocations: 0.8278 MB / 0.5379 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.4418, allocations: 271.6 kB / 0.5382 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008062/0.4426, allocations: 0.7864 MB / 0.5389 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4437, allocations: 79.89 kB / 0.539 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.4438, allocations: 91.95 kB / 0.5391 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.4438, allocations: 0 / 0.5391 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002067/0.4459, allocations: 1.023 MB / 0.5401 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4459, allocations: 4 kB / 0.5401 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.4462, allocations: 81.3 kB / 0.5402 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.4471, allocations: 283.6 kB / 0.5404 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.4487, allocations: 1.662 MB / 0.5421 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/0.4495, allocations: 75.95 kB / 0.5421 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4496, allocations: 83.95 kB / 0.5422 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005166/0.4502, allocations: 316.9 kB / 0.5425 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.4503, allocations: 122.6 kB / 0.5426 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.454, allocations: 1.84 MB / 0.5444 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.454, allocations: 4 kB / 0.5444 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.454, allocations: 3.938 kB / 0.5444 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.454, allocations: 3.984 kB / 0.5444 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.4568, allocations: 1.873 MB / 0.5463 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4568, allocations: 0 / 0.5463 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.4572, allocations: 136 kB / 0.5464 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.4601, allocations: 0.6172 MB / 0.547 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.4601, allocations: 31.92 kB / 0.547 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007058/0.4609, allocations: 0.8255 MB / 0.5478 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4609, allocations: 0 / 0.5478 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.4626, allocations: 1.038 MB / 0.5489 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.4631, allocations: 335.3 kB / 0.5492 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4632, allocations: 12 kB / 0.5492 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.4639, allocations: 79.84 kB / 0.5493 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.464, allocations: 60.42 kB / 0.5493 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.4641, allocations: 43.97 kB / 0.5494 GB, free: 5.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008614/0.465, allocations: 0.7495 MB / 0.5501 GB, free: 4.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.465, allocations: 0 / 0.5501 GB, free: 4.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002134/0.4671, allocations: 0.843 MB / 0.5509 GB, free: 3.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.4684, allocations: 0.6456 MB / 0.5516 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.4714, allocations: 1.528 MB / 0.553 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4714, allocations: 4 kB / 0.553 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.4722, allocations: 410.3 kB / 0.5534 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.4751, allocations: 0.5476 MB / 0.554 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.4785, allocations: 2.289 MB / 0.5562 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.479, allocations: 1.075 MB / 0.5573 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001611/0.4806, allocations: 468.9 kB / 0.5577 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.481, allocations: 127.4 kB / 0.5578 GB, free: 12.71 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.481, allocations: 0 / 0.5578 GB, free: 12.71 MB / 430.1 MB Notification: Performance of Templates: time 0.04096/0.522, allocations: 29.24 MB / 0.5864 GB, free: 15.48 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) Environment - environmentSimulation: