Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009043, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00911/0.00911, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.766/1.766, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3283/0.3283, allocations: 40 MB / 310.7 MB, free: 9.863 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.0005534/0.0005531, allocations: 27.98 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1129, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.2262/0.3391, allocations: 28.78 MB / 466.2 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.3601, allocations: 18.03 MB / 484.2 MB, free: 26.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.361, allocations: 14.31 kB / 484.2 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.3619, allocations: 227.9 kB / 484.5 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.3728, allocations: 3.031 MB / 487.5 MB, free: 25.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.383, allocations: 2.127 MB / 489.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3851, allocations: 1.225 MB / 490.8 MB, free: 23.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.3857, allocations: 248.3 kB / 491.1 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3868, allocations: 428.4 kB / 491.5 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.3875, allocations: 300.1 kB / 491.8 MB, free: 23.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3876, allocations: 16.06 kB / 491.8 MB, free: 23.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.4017, allocations: 7.29 MB / 499.1 MB, free: 21.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.402, allocations: 89.12 kB / 499.2 MB, free: 21.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.4025, allocations: 262.2 kB / 499.4 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4168, allocations: 4.55 MB / 0.4922 GB, free: 19.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4168, allocations: 0 / 0.4922 GB, free: 19.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4168, allocations: 0 / 0.4922 GB, free: 19.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.4169, allocations: 1.031 kB / 0.4922 GB, free: 19.99 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005335/0.4222, allocations: 1.245 MB / 0.4934 GB, free: 19.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4223, allocations: 8.469 kB / 0.4934 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4243, allocations: 235.9 kB / 0.4936 GB, free: 19.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.425, allocations: 392.4 kB / 0.494 GB, free: 18.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.425, allocations: 36 kB / 0.494 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.4251, allocations: 34.81 kB / 0.4941 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4269, allocations: 0.6348 MB / 0.4947 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4269, allocations: 1.312 kB / 0.4947 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.4269, allocations: 16.25 kB / 0.4947 GB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.427, allocations: 17.8 kB / 0.4947 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4287, allocations: 0.5856 MB / 0.4953 GB, free: 18.37 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.003126/0.4318, allocations: 2.754 MB / 0.498 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.4337, allocations: 0.5905 MB / 0.4986 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.4342, allocations: 207.7 kB / 0.4988 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05032/0.4845, allocations: 24.43 MB / 0.5226 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.4846, allocations: 38.5 kB / 0.5227 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.446e-06/0.4846, allocations: 2.562 kB / 0.5227 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00297/0.4876, allocations: 0.8506 MB / 0.5235 GB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4877, allocations: 110.1 kB / 0.5236 GB, free: 12.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.4882, allocations: 394.7 kB / 0.524 GB, free: 11.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.4883, allocations: 32.14 kB / 0.524 GB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4885, allocations: 230.8 kB / 0.5242 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.4886, allocations: 91.25 kB / 0.5243 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.4886, allocations: 40.75 kB / 0.5244 GB, free: 11.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4888, allocations: 347.7 kB / 0.5247 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.4892, allocations: 166.4 kB / 0.5248 GB, free: 11.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.4897, allocations: 297.9 kB / 0.5251 GB, free: 10.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.4906, allocations: 453.2 kB / 0.5256 GB, free: 10.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4906, allocations: 3.375 kB / 0.5256 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001118/0.4917, allocations: 0.5102 MB / 0.5261 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4919, allocations: 194.5 kB / 0.5262 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4919, allocations: 5.625 kB / 0.5263 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4919, allocations: 5.906 kB / 0.5263 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.4923, allocations: 108 kB / 0.5264 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4923, allocations: 8 kB / 0.5264 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.4928, allocations: 79.44 kB / 0.5264 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4929, allocations: 27.92 kB / 0.5265 GB, free: 9.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.4929, allocations: 8 kB / 0.5265 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009421/0.4938, allocations: 444.1 kB / 0.5269 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4939, allocations: 4.031 kB / 0.5269 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.4939, allocations: 8 kB / 0.5269 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.4942, allocations: 103.9 kB / 0.527 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4942, allocations: 11.92 kB / 0.527 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.4946, allocations: 67.56 kB / 0.5271 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.4947, allocations: 20 kB / 0.5271 GB, free: 9.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0002564/0.495, allocations: 241.6 kB / 0.5273 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.4951, allocations: 43.47 kB / 0.5274 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.4975, allocations: 1.988 MB / 0.5293 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.4975, allocations: 27.95 kB / 0.5293 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4976, allocations: 8 kB / 0.5294 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4976, allocations: 3.984 kB / 0.5294 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4987, allocations: 1.069 MB / 0.5304 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4987, allocations: 0 / 0.5304 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.4991, allocations: 87.88 kB / 0.5305 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4991, allocations: 0 / 0.5305 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4991, allocations: 12 kB / 0.5305 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4991, allocations: 0 / 0.5305 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4991, allocations: 7.984 kB / 0.5305 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.5006, allocations: 1.143 MB / 0.5316 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.5009, allocations: 275.2 kB / 0.5319 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.501, allocations: 7.938 kB / 0.5319 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.5014, allocations: 44.47 kB / 0.5319 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.5015, allocations: 31.89 kB / 0.532 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5015, allocations: 15.98 kB / 0.532 GB, free: 4.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004568/0.502, allocations: 386.8 kB / 0.5323 GB, free: 3.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.502, allocations: 4 kB / 0.5324 GB, free: 3.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005169/0.5071, allocations: 1.124 MB / 0.5334 GB, free: 2.695 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,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.009029/0.5162, allocations: 1.216 MB / 0.5346 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.5184, allocations: 0.8815 MB / 0.5355 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.5185, allocations: 4 kB / 0.5355 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.5193, allocations: 0.5333 MB / 0.536 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.521, allocations: 233.6 kB / 0.5362 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.5238, allocations: 2.046 MB / 0.5382 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.5245, allocations: 0.9834 MB / 0.5392 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009298/0.5254, allocations: 0.6074 MB / 0.5398 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5256, allocations: 51.42 kB / 0.5398 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5256, allocations: 0 / 0.5398 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.06417/0.5897, allocations: 40.39 MB / 0.5793 GB, free: 3.703 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) Environment - environmentSimulation: