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.001417/0.001418, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.379/0.379, allocations: 37.99 MB / 307.7 MB, free: 10.08 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.001617/0.001617, allocations: 76.5 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.3134/0.4455, allocations: 28.12 MB / 459.8 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.4593, allocations: 13.3 MB / 473.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.4598, allocations: 14.38 kB / 473.2 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.4606, allocations: 255.7 kB / 473.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4709, allocations: 3.655 MB / 477.1 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007162/0.4781, allocations: 2.369 MB / 479.4 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4795, allocations: 0.9064 MB / 480.3 MB, free: 29.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.4799, allocations: 240.9 kB / 480.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007922/0.4807, allocations: 434.6 kB / 481 MB, free: 29.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.4811, allocations: 269.3 kB / 481.3 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.4811, allocations: 33.22 kB / 481.3 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.4971, allocations: 7.061 MB / 488.3 MB, free: 27.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4974, allocations: 99.97 kB / 488.4 MB, free: 27.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.4978, allocations: 226.2 kB / 488.7 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.514, allocations: 4.407 MB / 493.1 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5141, allocations: 0 / 493.1 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5141, allocations: 0 / 493.1 MB, free: 26.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5141, allocations: 3.094 kB / 493.1 MB, free: 26.13 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005793/0.5199, allocations: 1.239 MB / 494.3 MB, free: 25.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.52, allocations: 12.89 kB / 494.3 MB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.5218, allocations: 214.6 kB / 494.5 MB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.5224, allocations: 359.3 kB / 494.9 MB, free: 25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.5224, allocations: 25.03 kB / 494.9 MB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.5224, allocations: 33.28 kB / 494.9 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5241, allocations: 0.5923 MB / 495.5 MB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5241, allocations: 5.094 kB / 495.5 MB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.5242, allocations: 16.53 kB / 495.6 MB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5242, allocations: 11.98 kB / 495.6 MB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.526, allocations: 0.5408 MB / 496.1 MB, free: 24.57 MB / 382.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.003245/0.5292, allocations: 2.646 MB / 498.8 MB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.5309, allocations: 469.2 kB / 499.2 MB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.5314, allocations: 197 kB / 499.4 MB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05026/0.5817, allocations: 24.2 MB / 0.5113 GB, free: 20.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.5818, allocations: 40.91 kB / 0.5114 GB, free: 20.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/0.5818, allocations: 4 kB / 0.5114 GB, free: 20.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002972/0.5848, allocations: 0.812 MB / 0.5122 GB, free: 19.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.5849, allocations: 109.8 kB / 0.5123 GB, free: 19.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.5852, allocations: 315.7 kB / 0.5126 GB, free: 19.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.5853, allocations: 32.36 kB / 0.5126 GB, free: 19.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.5854, allocations: 205.4 kB / 0.5128 GB, free: 19.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.5855, allocations: 91.42 kB / 0.5129 GB, free: 19.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5856, allocations: 67.69 kB / 0.513 GB, free: 19.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5857, allocations: 346.9 kB / 0.5133 GB, free: 18.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.5862, allocations: 144.7 kB / 0.5134 GB, free: 18.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.5866, allocations: 239.2 kB / 0.5137 GB, free: 18.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.5874, allocations: 384 kB / 0.514 GB, free: 18.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5874, allocations: 0 / 0.514 GB, free: 18.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009935/0.5884, allocations: 439.5 kB / 0.5144 GB, free: 18.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5884, allocations: 6.344 kB / 0.5144 GB, free: 18.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5884, allocations: 4.266 kB / 0.5144 GB, free: 18.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5885, allocations: 5.375 kB / 0.5145 GB, free: 18.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.5888, allocations: 96.78 kB / 0.5145 GB, free: 18.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5888, allocations: 7.484 kB / 0.5146 GB, free: 18.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.5891, allocations: 56.81 kB / 0.5146 GB, free: 17.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.5892, allocations: 16.25 kB / 0.5146 GB, free: 17.98 MB / 398.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.0001735/0.5893, allocations: 156.3 kB / 0.5148 GB, free: 17.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.5894, allocations: 36.03 kB / 0.5148 GB, free: 17.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.5918, allocations: 1.91 MB / 0.5167 GB, free: 16.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.5918, allocations: 36.14 kB / 0.5167 GB, free: 16.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5919, allocations: 7.984 kB / 0.5167 GB, free: 16.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5919, allocations: 0 / 0.5167 GB, free: 16.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5929, allocations: 1.012 MB / 0.5177 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5929, allocations: 0 / 0.5177 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.5932, allocations: 78.55 kB / 0.5178 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5933, allocations: 2.656 kB / 0.5178 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5933, allocations: 10.06 kB / 0.5178 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5933, allocations: 6.75 kB / 0.5178 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5933, allocations: 7.938 kB / 0.5178 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.5947, allocations: 1.098 MB / 0.5189 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5949, allocations: 163 kB / 0.519 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.5949, allocations: 21.72 kB / 0.519 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.5952, allocations: 39.45 kB / 0.5191 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.5953, allocations: 33.12 kB / 0.5191 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.5954, allocations: 7.969 kB / 0.5191 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.5957, allocations: 328.8 kB / 0.5194 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5957, allocations: 2.281 kB / 0.5194 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004891/0.6006, allocations: 1.003 MB / 0.5204 GB, free: 14.65 MB / 398.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.007308/0.6079, allocations: 1.166 MB / 0.5216 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.6099, allocations: 0.6304 MB / 0.5222 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6099, allocations: 0 / 0.5222 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007699/0.6107, allocations: 0.5178 MB / 0.5227 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6119, allocations: 219.1 kB / 0.5229 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.6142, allocations: 1.532 MB / 0.5244 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.6147, allocations: 0.9677 MB / 0.5253 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005035/0.6152, allocations: 272.2 kB / 0.5256 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.6153, allocations: 43.42 kB / 0.5256 GB, free: 9.543 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6154, allocations: 0 / 0.5256 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Templates: time 0.05837/0.6737, allocations: 39.56 MB / 0.5643 GB, free: 1.973 MB / 430.1 MB 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)