Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005043/0.005043, allocations: 102 kB / 15.73 MB, free: 6.02 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.001202/0.001202, allocations: 190.3 kB / 16.67 MB, free: 5.934 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3092/0.3092, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001934/0.001934, allocations: 79.88 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3356, allocations: 56.45 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02648/0.3622, allocations: 28.15 MB / 0.5055 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.3787, allocations: 13.3 MB / 0.5185 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.3793, allocations: 10.69 kB / 0.5185 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.3802, allocations: 247.5 kB / 0.5187 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.3916, allocations: 3.659 MB / 0.5223 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007744/0.3993, allocations: 2.36 MB / 0.5246 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.4007, allocations: 0.8965 MB / 0.5255 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.4012, allocations: 256.6 kB / 0.5257 GB, free: 24 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009787/0.4022, allocations: 432.7 kB / 0.5261 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.4026, allocations: 274.2 kB / 0.5264 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.4027, allocations: 33.47 kB / 0.5264 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/0.4196, allocations: 7.216 MB / 0.5335 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.4198, allocations: 103.7 kB / 0.5336 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.4202, allocations: 227 kB / 0.5338 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.432, allocations: 4.423 MB / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4321, allocations: 0 / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.4321, allocations: 0 / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4321, allocations: 0 / 0.5381 GB, free: 5.863 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003904/0.436, allocations: 1.271 MB / 0.5393 GB, free: 4.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4361, allocations: 15.89 kB / 0.5394 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.4378, allocations: 216.5 kB / 0.5396 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.4384, allocations: 379.5 kB / 0.5399 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4384, allocations: 25.03 kB / 0.5399 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.4384, allocations: 28.38 kB / 0.54 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.44, allocations: 0.5938 MB / 0.5406 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.44, allocations: 0 / 0.5406 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.44, allocations: 16 kB / 0.5406 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4401, allocations: 12 kB / 0.5406 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.4417, allocations: 0.5445 MB / 0.5411 GB, free: 2.641 MB / 414.1 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.00305/0.4447, allocations: 2.633 MB / 0.5437 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.4463, allocations: 478 kB / 0.5441 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.4468, allocations: 196.7 kB / 0.5443 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04765/0.4945, allocations: 24.29 MB / 0.5681 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4945, allocations: 38.56 kB / 0.5681 GB, free: 3.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.4946, allocations: 0 / 0.5681 GB, free: 3.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003154/0.4977, allocations: 0.8222 MB / 0.5689 GB, free: 3.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.4978, allocations: 110.8 kB / 0.569 GB, free: 2.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.4982, allocations: 316.4 kB / 0.5693 GB, free: 2.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.4983, allocations: 33.7 kB / 0.5693 GB, free: 2.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4984, allocations: 204.5 kB / 0.5695 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.4985, allocations: 91.2 kB / 0.5696 GB, free: 2.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.4987, allocations: 69.69 kB / 0.5697 GB, free: 2.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4988, allocations: 342.8 kB / 0.57 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.4992, allocations: 151.9 kB / 0.5702 GB, free: 1.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.4997, allocations: 238.9 kB / 0.5704 GB, free: 1.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.5006, allocations: 379.1 kB / 0.5707 GB, free: 1.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5006, allocations: 4 kB / 0.5707 GB, free: 1.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001057/0.5017, allocations: 440.9 kB / 0.5712 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5017, allocations: 8 kB / 0.5712 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5017, allocations: 0 / 0.5712 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5018, allocations: 4.312 kB / 0.5712 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.5021, allocations: 99.81 kB / 0.5713 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.5021, allocations: 11.92 kB / 0.5713 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.5025, allocations: 47.75 kB / 0.5713 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.5025, allocations: 19.94 kB / 0.5714 GB, free: 396 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.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 (35): * Single equations (assignments): 35 * 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.0001792/0.5027, allocations: 157.8 kB / 0.5715 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.5028, allocations: 39.77 kB / 0.5715 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.5052, allocations: 1.909 MB / 0.5734 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.5053, allocations: 35.83 kB / 0.5734 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5053, allocations: 3.984 kB / 0.5734 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5053, allocations: 4 kB / 0.5734 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5063, allocations: 1.016 MB / 0.5744 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5063, allocations: 0 / 0.5744 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.5066, allocations: 79.92 kB / 0.5745 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.5067, allocations: 0 / 0.5745 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.5067, allocations: 8 kB / 0.5745 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5067, allocations: 3.938 kB / 0.5745 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5067, allocations: 4 kB / 0.5745 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.5083, allocations: 1.112 MB / 0.5756 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.5085, allocations: 160.3 kB / 0.5758 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.5086, allocations: 23.84 kB / 0.5758 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.5089, allocations: 39.89 kB / 0.5758 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.509, allocations: 31.95 kB / 0.5759 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.509, allocations: 8 kB / 0.5759 GB, free: 11.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.5094, allocations: 327.1 kB / 0.5762 GB, free: 11.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5094, allocations: 0 / 0.5762 GB, free: 11.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00286/0.5122, allocations: 1.002 MB / 0.5772 GB, free: 10.32 MB / 462.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.005154/0.5174, allocations: 1.183 MB / 0.5783 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.5188, allocations: 0.6062 MB / 0.5789 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5188, allocations: 4 kB / 0.5789 GB, free: 8.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.5196, allocations: 0.5145 MB / 0.5794 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5208, allocations: 229.5 kB / 0.5796 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.5231, allocations: 1.53 MB / 0.5811 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5236, allocations: 0.9599 MB / 0.5821 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.5241, allocations: 282.8 kB / 0.5823 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5242, allocations: 47.42 kB / 0.5824 GB, free: 4.922 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5242, allocations: 3.938 kB / 0.5824 GB, free: 4.918 MB / 462.1 MB Notification: Performance of Templates: time 0.05247/0.5767, allocations: 39.54 MB / 0.621 GB, free: 13.33 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)