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.005588/0.005588, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001139/0.001139, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.355/1.355, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3013/0.3013, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.001493/0.001493, allocations: 76.5 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02745/0.3463, allocations: 28.15 MB / 0.5055 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.3646, allocations: 13.3 MB / 0.5185 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.3653, allocations: 10.12 kB / 0.5185 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009302/0.3663, allocations: 255.2 kB / 0.5187 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.38, allocations: 3.653 MB / 0.5223 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008661/0.3887, allocations: 2.362 MB / 0.5246 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.3902, allocations: 0.8967 MB / 0.5255 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.3907, allocations: 252.7 kB / 0.5257 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.3917, allocations: 432.5 kB / 0.5261 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.392, allocations: 270.4 kB / 0.5264 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.3921, allocations: 34.25 kB / 0.5264 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.4092, allocations: 7.227 MB / 0.5335 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.4095, allocations: 99.66 kB / 0.5336 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.41, allocations: 219 kB / 0.5338 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.4245, allocations: 4.409 MB / 0.5381 GB, free: 5.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4246, allocations: 0 / 0.5381 GB, free: 5.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4246, allocations: 4 kB / 0.5381 GB, free: 5.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.4246, allocations: 0 / 0.5381 GB, free: 5.875 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.003791/0.4284, allocations: 1.236 MB / 0.5393 GB, free: 4.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4285, allocations: 11.89 kB / 0.5393 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.4302, allocations: 216.3 kB / 0.5395 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.431, allocations: 387.1 kB / 0.5399 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.431, allocations: 29.03 kB / 0.5399 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.4311, allocations: 28.38 kB / 0.5399 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.4327, allocations: 0.59 MB / 0.5405 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4327, allocations: 0 / 0.5405 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.4328, allocations: 15.94 kB / 0.5405 GB, free: 3.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4328, allocations: 8 kB / 0.5405 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4346, allocations: 0.5445 MB / 0.5411 GB, free: 2.691 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.004553/0.4392, allocations: 2.629 MB / 0.5436 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.4412, allocations: 466 kB / 0.5441 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.4418, allocations: 204.7 kB / 0.5443 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05154/0.4934, allocations: 24.29 MB / 0.568 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4935, allocations: 38.56 kB / 0.568 GB, free: 3.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.4935, allocations: 0 / 0.568 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003066/0.4965, allocations: 0.822 MB / 0.5688 GB, free: 3.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.4966, allocations: 102.8 kB / 0.5689 GB, free: 2.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.497, allocations: 328.3 kB / 0.5692 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.497, allocations: 29.69 kB / 0.5693 GB, free: 2.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4972, allocations: 200.3 kB / 0.5695 GB, free: 2.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.4972, allocations: 86.83 kB / 0.5695 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4973, allocations: 69.59 kB / 0.5696 GB, free: 2.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4975, allocations: 342.8 kB / 0.5699 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.4979, allocations: 147.9 kB / 0.5701 GB, free: 1.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.4985, allocations: 250.9 kB / 0.5703 GB, free: 1.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.4994, allocations: 367.1 kB / 0.5707 GB, free: 1.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4994, allocations: 7.938 kB / 0.5707 GB, free: 1.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001133/0.5006, allocations: 444.8 kB / 0.5711 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5006, allocations: 8 kB / 0.5711 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5006, allocations: 0 / 0.5711 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.5007, allocations: 7.938 kB / 0.5711 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.501, allocations: 96.19 kB / 0.5712 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.5011, allocations: 11.92 kB / 0.5712 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.5014, allocations: 47.66 kB / 0.5713 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.5014, allocations: 19.98 kB / 0.5713 GB, free: 468 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.0001737/0.5016, allocations: 165.6 kB / 0.5714 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.5017, allocations: 31.62 kB / 0.5715 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.5041, allocations: 1.912 MB / 0.5733 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.5042, allocations: 35.83 kB / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5042, allocations: 0 / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5042, allocations: 3.984 kB / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009186/0.5051, allocations: 1.012 MB / 0.5744 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5051, allocations: 0 / 0.5744 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.5055, allocations: 75.94 kB / 0.5744 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5055, allocations: 0 / 0.5744 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.5055, allocations: 11.98 kB / 0.5745 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5055, allocations: 3.938 kB / 0.5745 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5055, allocations: 4 kB / 0.5745 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5071, allocations: 1.1 MB / 0.5755 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5072, allocations: 159.9 kB / 0.5757 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.5073, allocations: 31.69 kB / 0.5757 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.5076, allocations: 27.91 kB / 0.5757 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5077, allocations: 35.95 kB / 0.5758 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.5077, allocations: 15.98 kB / 0.5758 GB, free: 11.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.5081, allocations: 327.1 kB / 0.5761 GB, free: 11.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5081, allocations: 0 / 0.5761 GB, free: 11.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003222/0.5113, allocations: 0.9916 MB / 0.5771 GB, free: 10.41 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.004316/0.5156, allocations: 1.168 MB / 0.5782 GB, free: 9.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.5173, allocations: 0.6023 MB / 0.5788 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5173, allocations: 0 / 0.5788 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.5181, allocations: 0.5262 MB / 0.5793 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.5195, allocations: 218.4 kB / 0.5795 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.5219, allocations: 1.508 MB / 0.581 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.5224, allocations: 0.9677 MB / 0.5819 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.5228, allocations: 279.5 kB / 0.5822 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.523, allocations: 43.44 kB / 0.5822 GB, free: 5.051 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.523, allocations: 0 / 0.5822 GB, free: 5.051 MB / 462.1 MB Notification: Performance of Templates: time 0.05484/0.5778, allocations: 39.55 MB / 0.6209 GB, free: 13.46 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)