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.001503/0.001503, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.571/1.571, allocations: 194.3 MB / 202.4 MB, free: 8.48 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.001703/0.001703, allocations: 116.8 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.225/0.225, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.604e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.828/5.947, allocations: 2.606 GB / 3.044 GB, free: 142.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/5.948, allocations: 83.94 kB / 3.044 GB, free: 142.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7965/6.744, allocations: 232.8 MB / 3.271 GB, free: 68.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/6.744, allocations: 0 / 3.271 GB, free: 68.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.943e-05/6.744, allocations: 7.844 kB / 3.271 GB, free: 68.01 MB / 474.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.005125/6.749, allocations: 1.287 MB / 3.273 GB, free: 67.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/6.749, allocations: 12.64 kB / 3.273 GB, free: 67.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/6.751, allocations: 251.1 kB / 3.273 GB, free: 67.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/6.752, allocations: 426.3 kB / 3.273 GB, free: 66.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/6.752, allocations: 17.3 kB / 3.273 GB, free: 66.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/6.752, allocations: 21.97 kB / 3.273 GB, free: 66.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005514/6.753, allocations: 344.9 kB / 3.274 GB, free: 66.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/6.753, allocations: 423 kB / 3.274 GB, free: 66.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/6.753, allocations: 0 / 3.274 GB, free: 66.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/6.753, allocations: 3.938 kB / 3.274 GB, free: 66.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/6.753, allocations: 15.75 kB / 3.274 GB, free: 66.45 MB / 474.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.005955/6.759, allocations: 3.983 MB / 3.278 GB, free: 63.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/6.76, allocations: 295.2 kB / 3.278 GB, free: 63.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/6.76, allocations: 127.1 kB / 3.278 GB, free: 63.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/6.872, allocations: 53.75 MB / 3.331 GB, free: 22.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/6.872, allocations: 46.5 kB / 3.331 GB, free: 22.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.325e-06/6.872, allocations: 3.938 kB / 3.331 GB, free: 22.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.002158/6.874, allocations: 0.5641 MB / 3.332 GB, free: 21.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/6.874, allocations: 114.8 kB / 3.332 GB, free: 21.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/6.874, allocations: 278.3 kB / 3.332 GB, free: 21.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/6.874, allocations: 25.7 kB / 3.332 GB, free: 21.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/6.875, allocations: 251.9 kB / 3.332 GB, free: 21.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/6.875, allocations: 90.59 kB / 3.332 GB, free: 21.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/6.875, allocations: 0 / 3.332 GB, free: 21.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/6.875, allocations: 346.8 kB / 3.333 GB, free: 20.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/6.875, allocations: 100.9 kB / 3.333 GB, free: 20.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/6.875, allocations: 255.2 kB / 3.333 GB, free: 20.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/6.876, allocations: 224.4 kB / 3.333 GB, free: 20.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/6.876, allocations: 4 kB / 3.333 GB, free: 20.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001265/6.877, allocations: 476.8 kB / 3.334 GB, free: 19.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003393/6.878, allocations: 1.841 MB / 3.335 GB, free: 17.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/6.878, allocations: 4 kB / 3.335 GB, free: 17.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/6.878, allocations: 8 kB / 3.335 GB, free: 17.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/6.878, allocations: 115.8 kB / 3.336 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/6.878, allocations: 8 kB / 3.336 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/6.879, allocations: 71.55 kB / 3.336 GB, free: 17.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/6.879, allocations: 20 kB / 3.336 GB, free: 17.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/6.879, allocations: 7.953 kB / 3.336 GB, free: 17.37 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009038/6.88, allocations: 367.7 kB / 3.336 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/6.88, allocations: 4 kB / 3.336 GB, free: 17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/6.88, allocations: 8.625 kB / 3.336 GB, free: 17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/6.88, allocations: 123.8 kB / 3.336 GB, free: 16.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/6.88, allocations: 11.94 kB / 3.336 GB, free: 16.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/6.881, allocations: 59.66 kB / 3.336 GB, free: 16.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/6.881, allocations: 23.98 kB / 3.336 GB, free: 16.78 MB / 474.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 0.0001139/6.881, allocations: 121 kB / 3.336 GB, free: 16.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/6.881, allocations: 39.48 kB / 3.336 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/6.883, allocations: 1.702 MB / 3.338 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/6.883, allocations: 31.89 kB / 3.338 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/6.883, allocations: 0 / 3.338 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/6.883, allocations: 0 / 3.338 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/6.884, allocations: 0.861 MB / 3.339 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.884, allocations: 0 / 3.339 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/6.884, allocations: 87.88 kB / 3.339 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/6.884, allocations: 0 / 3.339 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/6.884, allocations: 4 kB / 3.339 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/6.884, allocations: 3.953 kB / 3.339 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.884, allocations: 0 / 3.339 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/6.885, allocations: 0.9794 MB / 3.34 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/6.886, allocations: 255.4 kB / 3.34 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/6.886, allocations: 3.984 kB / 3.34 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/6.886, allocations: 27.92 kB / 3.34 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/6.886, allocations: 39.89 kB / 3.34 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/6.886, allocations: 12 kB / 3.34 GB, free: 12.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002672/6.886, allocations: 294.9 kB / 3.341 GB, free: 12.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/6.886, allocations: 0 / 3.341 GB, free: 12.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004953/6.891, allocations: 1.139 MB / 3.342 GB, free: 11.11 MB / 474.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009528/6.901, allocations: 1.492 MB / 3.343 GB, free: 9.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/6.902, allocations: 0.6769 MB / 3.344 GB, free: 9.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/6.902, allocations: 3.938 kB / 3.344 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/6.903, allocations: 437.1 kB / 3.344 GB, free: 8.609 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/6.904, allocations: 174.1 kB / 3.344 GB, free: 8.438 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3715/7.275, allocations: 54.42 MB / 3.398 GB, free: 81.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/7.276, allocations: 0.9854 MB / 3.398 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009014/7.277, allocations: 0.544 MB / 3.399 GB, free: 80.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/7.277, allocations: 44.41 kB / 3.399 GB, free: 80.78 MB / 490.7 MB Notification: Performance of SimCode: time 5.72e-07/7.277, allocations: 0 / 3.399 GB, free: 80.78 MB / 490.7 MB Notification: Performance of Templates: time 0.03699/7.314, allocations: 29.39 MB / 3.428 GB, free: 79.08 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)