Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009712/0.0009713, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.123/1.123, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001406/0.001406, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1614/0.1614, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.07309, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/4.878, allocations: 2.496 GB / 2.893 GB, free: 98.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/4.879, allocations: 82.97 kB / 2.893 GB, free: 98.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7165/5.595, allocations: 231.2 MB / 3.118 GB, free: 61.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/5.595, allocations: 0 / 3.118 GB, free: 61.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.022e-05/5.595, allocations: 14.66 kB / 3.118 GB, free: 61.96 MB / 442.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.005136/5.6, allocations: 1.264 MB / 3.12 GB, free: 60.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/5.6, allocations: 8.031 kB / 3.12 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/5.602, allocations: 237.5 kB / 3.12 GB, free: 60.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/5.603, allocations: 429.8 kB / 3.12 GB, free: 60.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/5.603, allocations: 28.78 kB / 3.12 GB, free: 60.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/5.603, allocations: 35.16 kB / 3.12 GB, free: 60.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/5.604, allocations: 0.6206 MB / 3.121 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/5.604, allocations: 2.562 kB / 3.121 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/5.604, allocations: 12.34 kB / 3.121 GB, free: 59.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/5.605, allocations: 11.95 kB / 3.121 GB, free: 59.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/5.606, allocations: 0.5343 MB / 3.122 GB, free: 59.11 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002289/5.608, allocations: 2.66 MB / 3.124 GB, free: 56.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/5.609, allocations: 0.4884 MB / 3.125 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/5.61, allocations: 135.7 kB / 3.125 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3514/5.961, allocations: 55.1 MB / 3.179 GB, free: 73.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/5.961, allocations: 39.47 kB / 3.179 GB, free: 72.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/5.961, allocations: 0 / 3.179 GB, free: 72.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002126/5.963, allocations: 0.6443 MB / 3.179 GB, free: 72.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/5.963, allocations: 109.5 kB / 3.179 GB, free: 72.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/5.964, allocations: 312.7 kB / 3.18 GB, free: 72.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/5.964, allocations: 33.14 kB / 3.18 GB, free: 72.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/5.964, allocations: 253.2 kB / 3.18 GB, free: 72.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/5.964, allocations: 93.91 kB / 3.18 GB, free: 72.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/5.964, allocations: 10.38 kB / 3.18 GB, free: 72.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/5.964, allocations: 345.3 kB / 3.18 GB, free: 72.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/5.964, allocations: 109 kB / 3.18 GB, free: 72.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/5.964, allocations: 262.4 kB / 3.181 GB, free: 72.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/5.964, allocations: 137.6 kB / 3.181 GB, free: 72.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/5.965, allocations: 3.719 kB / 3.181 GB, free: 72.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006442/5.965, allocations: 430.2 kB / 3.181 GB, free: 71.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003431/5.966, allocations: 1.833 MB / 3.183 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/5.966, allocations: 3.312 kB / 3.183 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/5.966, allocations: 7.562 kB / 3.183 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/5.966, allocations: 115.6 kB / 3.183 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/5.966, allocations: 11.2 kB / 3.183 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/5.966, allocations: 79.53 kB / 3.183 GB, free: 70.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/5.966, allocations: 25.42 kB / 3.183 GB, free: 70.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/5.967, allocations: 6.406 kB / 3.183 GB, free: 70.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005375/5.967, allocations: 361.9 kB / 3.184 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/5.967, allocations: 8.031 kB / 3.184 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/5.967, allocations: 10.19 kB / 3.184 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/5.967, allocations: 110.6 kB / 3.184 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/5.967, allocations: 13.55 kB / 3.184 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/5.968, allocations: 66.92 kB / 3.184 GB, free: 70.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/5.968, allocations: 19.16 kB / 3.184 GB, free: 70.03 MB / 442.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 () * 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 9.689e-05/5.968, allocations: 135.3 kB / 3.184 GB, free: 69.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/5.968, allocations: 43.58 kB / 3.184 GB, free: 69.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/5.97, allocations: 1.908 MB / 3.186 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/5.97, allocations: 30.91 kB / 3.186 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/5.97, allocations: 3.875 kB / 3.186 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/5.97, allocations: 2.25 kB / 3.186 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009688/5.971, allocations: 1.023 MB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.971, allocations: 1.344 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/5.971, allocations: 80.55 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/5.971, allocations: 5.891 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/5.971, allocations: 16.86 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/5.971, allocations: 2.5 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/5.971, allocations: 1.219 kB / 3.187 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/5.972, allocations: 1.033 MB / 3.188 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/5.973, allocations: 254 kB / 3.188 GB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/5.973, allocations: 12.86 kB / 3.188 GB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/5.973, allocations: 40.64 kB / 3.188 GB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/5.973, allocations: 32.64 kB / 3.188 GB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/5.973, allocations: 11.64 kB / 3.188 GB, free: 69.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003597/5.974, allocations: 316.6 kB / 3.189 GB, free: 68.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/5.974, allocations: 2.812 kB / 3.189 GB, free: 68.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005523/5.979, allocations: 1.148 MB / 3.19 GB, free: 68.96 MB / 442.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 () * 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.005771/5.985, allocations: 1.419 MB / 3.191 GB, free: 68.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/5.986, allocations: 0.7614 MB / 3.192 GB, free: 68.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.986, allocations: 0 / 3.192 GB, free: 68.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/5.987, allocations: 492.4 kB / 3.192 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/5.988, allocations: 194.1 kB / 3.193 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1397/6.128, allocations: 79.99 MB / 3.271 GB, free: 60.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/6.128, allocations: 1.006 MB / 3.272 GB, free: 59.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009452/6.129, allocations: 0.546 MB / 3.272 GB, free: 58.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/6.129, allocations: 48.72 kB / 3.272 GB, free: 58.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/6.129, allocations: 4 kB / 3.272 GB, free: 58.91 MB / 442.7 MB Notification: Performance of Templates: time 0.04126/6.17, allocations: 33.8 MB / 3.305 GB, free: 35.46 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)