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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.007958/0.007958, allocations: 177.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.42/1.42, allocations: 194.5 MB / 210.3 MB, free: 11.17 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 127.2 kB / 255.6 MB, free: 14.26 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3484/0.3484, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003946, allocations: 12 kB / 406.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2908, allocations: 54.86 MB / 461 MB, free: 24.79 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/6.622, allocations: 2.607 GB / 3.057 GB, free: 91.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/6.623, allocations: 91.27 kB / 3.057 GB, free: 91.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9649/7.588, allocations: 236.3 MB / 3.288 GB, free: 55.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/7.588, allocations: 0 / 3.288 GB, free: 55.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.946e-05/7.588, allocations: 18.75 kB / 3.288 GB, free: 55.64 MB / 490.7 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.007808/7.596, allocations: 1.331 MB / 3.29 GB, free: 54.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/7.596, allocations: 16.03 kB / 3.29 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/7.598, allocations: 247.2 kB / 3.29 GB, free: 54.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/7.6, allocations: 433.2 kB / 3.29 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/7.6, allocations: 32.61 kB / 3.29 GB, free: 53.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/7.6, allocations: 36 kB / 3.29 GB, free: 53.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/7.602, allocations: 0.6301 MB / 3.291 GB, free: 52.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/7.602, allocations: 7.938 kB / 3.291 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/7.602, allocations: 16 kB / 3.291 GB, free: 52.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/7.602, allocations: 12 kB / 3.291 GB, free: 52.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/7.604, allocations: 0.5839 MB / 3.291 GB, free: 52.2 MB / 490.7 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.003847/7.608, allocations: 2.656 MB / 3.294 GB, free: 49.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/7.609, allocations: 0.5287 MB / 3.295 GB, free: 48.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.504/8.113, allocations: 54.85 MB / 3.348 GB, free: 73.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/8.114, allocations: 32.98 kB / 3.348 GB, free: 73.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.897e-06/8.114, allocations: 0 / 3.348 GB, free: 73.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002775/8.116, allocations: 0.7914 MB / 3.349 GB, free: 73.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/8.116, allocations: 110.1 kB / 3.349 GB, free: 73.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/8.117, allocations: 327.2 kB / 3.349 GB, free: 73.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/8.117, allocations: 31.05 kB / 3.349 GB, free: 73.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/8.117, allocations: 243.2 kB / 3.35 GB, free: 72.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/8.117, allocations: 95.64 kB / 3.35 GB, free: 72.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/8.117, allocations: 7.625 kB / 3.35 GB, free: 72.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/8.117, allocations: 353.1 kB / 3.35 GB, free: 72.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/8.118, allocations: 147 kB / 3.35 GB, free: 72.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/8.118, allocations: 311.3 kB / 3.351 GB, free: 72.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/8.119, allocations: 183.5 kB / 3.351 GB, free: 72.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/8.119, allocations: 6.031 kB / 3.351 GB, free: 72.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009528/8.12, allocations: 0.5043 MB / 3.351 GB, free: 72.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004372/8.12, allocations: 1.831 MB / 3.353 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/8.12, allocations: 4.625 kB / 3.353 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/8.12, allocations: 12.62 kB / 3.353 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/8.121, allocations: 111.1 kB / 3.353 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/8.121, allocations: 10.72 kB / 3.353 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/8.121, allocations: 80.06 kB / 3.353 GB, free: 70.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/8.121, allocations: 19.81 kB / 3.353 GB, free: 70.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/8.121, allocations: 3.594 kB / 3.353 GB, free: 70.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009069/8.122, allocations: 446.7 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/8.122, allocations: 4.125 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/8.122, allocations: 11.72 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/8.123, allocations: 111 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/8.123, allocations: 14.14 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/8.123, allocations: 64.33 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/8.123, allocations: 26.98 kB / 3.354 GB, free: 70.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/8.123, allocations: 245 kB / 3.354 GB, free: 70.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/8.123, allocations: 38.78 kB / 3.354 GB, free: 70.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/8.126, allocations: 1.948 MB / 3.356 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/8.126, allocations: 28.23 kB / 3.356 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/8.126, allocations: 4.859 kB / 3.356 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/8.126, allocations: 0 / 3.356 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/8.127, allocations: 1.029 MB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/8.127, allocations: 3.469 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/8.128, allocations: 86.25 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/8.128, allocations: 2.812 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/8.128, allocations: 13.38 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/8.128, allocations: 1.312 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/8.128, allocations: 4.969 kB / 3.357 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/8.129, allocations: 1.102 MB / 3.358 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/8.129, allocations: 256 kB / 3.358 GB, free: 69.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/8.129, allocations: 8.562 kB / 3.358 GB, free: 69.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/8.13, allocations: 38.94 kB / 3.359 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/8.13, allocations: 30.5 kB / 3.359 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/8.13, allocations: 16.97 kB / 3.359 GB, free: 69.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003295/8.13, allocations: 316 kB / 3.359 GB, free: 69.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/8.13, allocations: 0 / 3.359 GB, free: 69.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005817/8.136, allocations: 1.158 MB / 3.36 GB, free: 69.27 MB / 490.7 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008109/8.144, allocations: 1.428 MB / 3.361 GB, free: 69.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/8.146, allocations: 0.8608 MB / 3.362 GB, free: 69.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/8.146, allocations: 5.219 kB / 3.362 GB, free: 69.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/8.147, allocations: 0.5143 MB / 3.363 GB, free: 69.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/8.148, allocations: 197 kB / 3.363 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/8.306, allocations: 82.16 MB / 3.443 GB, free: 62.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/8.306, allocations: 1 MB / 3.444 GB, free: 61.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009722/8.307, allocations: 0.5296 MB / 3.445 GB, free: 61.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/8.308, allocations: 50.92 kB / 3.445 GB, free: 61.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.014e-06/8.308, allocations: 0 / 3.445 GB, free: 61.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04743/8.355, allocations: 32.1 MB / 3.476 GB, free: 42.93 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (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)