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.005014/0.005014, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001189/0.001189, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.3136/0.3136, allocations: 37.99 MB / 307.9 MB, free: 10.4 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.001481/0.001481, allocations: 71.83 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3264, allocations: 56.46 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03136/0.3578, allocations: 28.14 MB / 0.5055 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.3758, allocations: 13.3 MB / 0.5185 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.3765, allocations: 9.438 kB / 0.5185 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.3775, allocations: 259.5 kB / 0.5187 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.3909, allocations: 3.649 MB / 0.5223 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008507/0.3994, allocations: 2.361 MB / 0.5246 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.4011, allocations: 0.8968 MB / 0.5255 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.4017, allocations: 251 kB / 0.5257 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009505/0.4026, allocations: 441.4 kB / 0.5261 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.403, allocations: 273.7 kB / 0.5264 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.4031, allocations: 37.2 kB / 0.5264 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.4198, allocations: 7.222 MB / 0.5335 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.42, allocations: 95.72 kB / 0.5336 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.4205, allocations: 227 kB / 0.5338 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.4371, allocations: 4.405 MB / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4372, allocations: 0 / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4372, allocations: 0 / 0.5381 GB, free: 5.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4372, allocations: 4 kB / 0.5381 GB, free: 5.859 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.004077/0.4413, allocations: 1.243 MB / 0.5393 GB, free: 4.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4414, allocations: 15.89 kB / 0.5393 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4431, allocations: 216.2 kB / 0.5395 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/0.444, allocations: 379.2 kB / 0.5399 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.4441, allocations: 29.03 kB / 0.5399 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.4441, allocations: 24.38 kB / 0.5399 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.4457, allocations: 0.5978 MB / 0.5405 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4458, allocations: 0 / 0.5405 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.4458, allocations: 12 kB / 0.5405 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4458, allocations: 8 kB / 0.5405 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4474, allocations: 0.5484 MB / 0.5411 GB, free: 2.668 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.003257/0.4507, allocations: 2.613 MB / 0.5436 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.4523, allocations: 482 kB / 0.5441 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.4527, allocations: 196.7 kB / 0.5443 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05067/0.5034, allocations: 24.29 MB / 0.568 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.5035, allocations: 34.56 kB / 0.568 GB, free: 3.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.514e-06/0.5035, allocations: 4 kB / 0.568 GB, free: 3.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.00306/0.5066, allocations: 0.8219 MB / 0.5688 GB, free: 3.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.5067, allocations: 110.8 kB / 0.5689 GB, free: 2.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.5071, allocations: 320.3 kB / 0.5692 GB, free: 2.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5071, allocations: 29.7 kB / 0.5693 GB, free: 2.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.5073, allocations: 200.3 kB / 0.5695 GB, free: 2.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.5074, allocations: 82.83 kB / 0.5695 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.5075, allocations: 73.59 kB / 0.5696 GB, free: 2.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5077, allocations: 342.8 kB / 0.5699 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.5081, allocations: 147.9 kB / 0.5701 GB, free: 1.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.5087, allocations: 246.9 kB / 0.5703 GB, free: 1.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.5095, allocations: 383.1 kB / 0.5707 GB, free: 1.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5096, allocations: 0 / 0.5707 GB, free: 1.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001051/0.5106, allocations: 436.8 kB / 0.5711 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.5106, allocations: 8 kB / 0.5711 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5107, allocations: 7.938 kB / 0.5711 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.5107, allocations: 7.938 kB / 0.5711 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5111, allocations: 83.88 kB / 0.5712 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5111, allocations: 4.312 kB / 0.5712 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.5114, allocations: 59.64 kB / 0.5713 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5114, allocations: 12 kB / 0.5713 GB, free: 464 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.0002215/0.5117, allocations: 169.6 kB / 0.5714 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.5118, allocations: 31.62 kB / 0.5715 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.5143, allocations: 1.916 MB / 0.5733 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.5143, allocations: 35.89 kB / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5143, allocations: 0 / 0.5734 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5143, allocations: 3.984 kB / 0.5734 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.5153, allocations: 1.012 MB / 0.5744 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5153, allocations: 0 / 0.5744 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.5157, allocations: 75.86 kB / 0.5744 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5157, allocations: 4 kB / 0.5744 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.5157, allocations: 8 kB / 0.5744 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5157, allocations: 7.938 kB / 0.5745 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5157, allocations: 0 / 0.5745 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.5173, allocations: 1.1 MB / 0.5755 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5174, allocations: 163.9 kB / 0.5757 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.5175, allocations: 23.69 kB / 0.5757 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.5178, allocations: 35.89 kB / 0.5757 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5179, allocations: 39.94 kB / 0.5758 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.5179, allocations: 8 kB / 0.5758 GB, free: 11.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.5183, allocations: 327.1 kB / 0.5761 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5183, allocations: 0 / 0.5761 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003601/0.5219, allocations: 0.9916 MB / 0.5771 GB, free: 10.4 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.004712/0.5266, allocations: 1.178 MB / 0.5782 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.5281, allocations: 0.6106 MB / 0.5788 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5281, allocations: 0 / 0.5788 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.5288, allocations: 0.5139 MB / 0.5793 GB, free: 8.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5301, allocations: 225.8 kB / 0.5795 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.5323, allocations: 1.504 MB / 0.581 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.5328, allocations: 0.9638 MB / 0.5819 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004621/0.5332, allocations: 284.4 kB / 0.5822 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5334, allocations: 43.42 kB / 0.5823 GB, free: 5.039 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5334, allocations: 0 / 0.5823 GB, free: 5.039 MB / 462.1 MB Notification: Performance of Templates: time 0.05266/0.586, allocations: 39.71 MB / 0.621 GB, free: 13.29 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)