Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006117/0.006116, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001297/0.001297, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3217/0.3217, allocations: 39.94 MB / 309.8 MB, free: 9.367 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.001406/0.001406, allocations: 75.88 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3365, allocations: 56.86 MB / 492.6 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02781/0.3643, allocations: 28.15 MB / 0.5086 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.3825, allocations: 13.31 MB / 0.5216 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.3833, allocations: 10.75 kB / 0.5216 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3846, allocations: 247.7 kB / 0.5218 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.4002, allocations: 3.648 MB / 0.5254 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007976/0.4082, allocations: 2.377 MB / 0.5277 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.4097, allocations: 0.8881 MB / 0.5286 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.4102, allocations: 244.8 kB / 0.5288 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.4111, allocations: 452.2 kB / 0.5292 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.4115, allocations: 274.7 kB / 0.5295 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.4116, allocations: 34.03 kB / 0.5295 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01639/0.428, allocations: 7.237 MB / 0.5366 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.4282, allocations: 99.66 kB / 0.5367 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.4286, allocations: 223 kB / 0.5369 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.44, allocations: 4.401 MB / 0.5412 GB, free: 2.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.44, allocations: 0 / 0.5412 GB, free: 2.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4401, allocations: 0 / 0.5412 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4401, allocations: 4 kB / 0.5412 GB, free: 2.672 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.003191/0.4433, allocations: 1.24 MB / 0.5424 GB, free: 1.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4433, allocations: 11.89 kB / 0.5424 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.445, allocations: 208.2 kB / 0.5426 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.4456, allocations: 383.2 kB / 0.543 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.4457, allocations: 29.03 kB / 0.543 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.4457, allocations: 24.38 kB / 0.5431 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4473, allocations: 0.6017 MB / 0.5436 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4473, allocations: 3.938 kB / 0.5436 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.4474, allocations: 16 kB / 0.5437 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4474, allocations: 8 kB / 0.5437 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.449, allocations: 0.5406 MB / 0.5442 GB, free: 15.49 MB / 430.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.003097/0.4522, allocations: 2.625 MB / 0.5468 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.4537, allocations: 478 kB / 0.5472 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.4542, allocations: 196.7 kB / 0.5474 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05215/0.5064, allocations: 24.29 MB / 0.5711 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.5065, allocations: 38.5 kB / 0.5712 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.524e-06/0.5065, allocations: 0 / 0.5712 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003057/0.5095, allocations: 0.8297 MB / 0.572 GB, free: 15.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.5096, allocations: 110.8 kB / 0.5721 GB, free: 15.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.51, allocations: 308.5 kB / 0.5724 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5101, allocations: 29.7 kB / 0.5724 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5102, allocations: 200.3 kB / 0.5726 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.5103, allocations: 78.77 kB / 0.5727 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5104, allocations: 73.69 kB / 0.5727 GB, free: 15.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5106, allocations: 342.8 kB / 0.5731 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.511, allocations: 147.9 kB / 0.5732 GB, free: 14.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.5115, allocations: 246.8 kB / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.5125, allocations: 375.1 kB / 0.5738 GB, free: 13.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5125, allocations: 0 / 0.5738 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001065/0.5136, allocations: 448.8 kB / 0.5742 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5136, allocations: 8.625 kB / 0.5742 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5136, allocations: 4 kB / 0.5742 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.5137, allocations: 11.88 kB / 0.5743 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.514, allocations: 95.8 kB / 0.5743 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5141, allocations: 4 kB / 0.5743 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.5144, allocations: 51.78 kB / 0.5744 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5144, allocations: 16 kB / 0.5744 GB, free: 13.26 MB / 462.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.0001861/0.5146, allocations: 165.6 kB / 0.5746 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.5147, allocations: 31.62 kB / 0.5746 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.5174, allocations: 1.897 MB / 0.5765 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.5174, allocations: 35.88 kB / 0.5765 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5174, allocations: 0 / 0.5765 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5174, allocations: 4 kB / 0.5765 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5185, allocations: 1.015 MB / 0.5775 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5185, allocations: 0 / 0.5775 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.5189, allocations: 83.86 kB / 0.5776 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5189, allocations: 4 kB / 0.5776 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.5189, allocations: 8 kB / 0.5776 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5189, allocations: 3.938 kB / 0.5776 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5189, allocations: 0 / 0.5776 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.5205, allocations: 1.1 MB / 0.5787 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.5207, allocations: 167.8 kB / 0.5788 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.5207, allocations: 27.67 kB / 0.5788 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.521, allocations: 31.91 kB / 0.5789 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.5211, allocations: 35.95 kB / 0.5789 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.5211, allocations: 8 kB / 0.5789 GB, free: 8.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.5215, allocations: 327.1 kB / 0.5792 GB, free: 8.215 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5215, allocations: 0 / 0.5792 GB, free: 8.215 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00336/0.5249, allocations: 0.9954 MB / 0.5802 GB, free: 7.219 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.004093/0.529, allocations: 1.176 MB / 0.5813 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.5304, allocations: 0.6107 MB / 0.5819 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5304, allocations: 0 / 0.5819 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.5312, allocations: 0.5177 MB / 0.5824 GB, free: 4.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5324, allocations: 226.6 kB / 0.5827 GB, free: 4.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.5345, allocations: 1.508 MB / 0.5841 GB, free: 3.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.5351, allocations: 0.9599 MB / 0.5851 GB, free: 2.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.5355, allocations: 282.7 kB / 0.5853 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5356, allocations: 39.44 kB / 0.5854 GB, free: 1.852 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5357, allocations: 0 / 0.5854 GB, free: 1.852 MB / 462.1 MB Notification: Performance of Templates: time 0.05249/0.5881, allocations: 39.72 MB / 0.6242 GB, free: 10.09 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)