Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001561/0.001561, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.473/1.473, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001591/0.001591, allocations: 103.5 kB / 218 MB, free: 8.34 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.1809/0.1809, allocations: 37.97 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.859e-05, allocations: 2.188 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.654/6.757, allocations: 2.496 GB / 2.885 GB, free: 73.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/6.757, allocations: 76.67 kB / 2.886 GB, free: 73.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.875/8.633, allocations: 494.3 MB / 3.368 GB, free: 37.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.734e-06/8.633, allocations: 0 / 3.368 GB, free: 37.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.305e-05/8.633, allocations: 36.41 kB / 3.368 GB, free: 37.88 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008143/8.641, allocations: 1.986 MB / 3.37 GB, free: 36.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/8.641, allocations: 15.45 kB / 3.37 GB, free: 36.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/8.647, allocations: 0.6797 MB / 3.371 GB, free: 36.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/8.649, allocations: 0.8518 MB / 3.372 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/8.649, allocations: 40.12 kB / 3.372 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/8.649, allocations: 53.09 kB / 3.372 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/8.65, allocations: 0.9031 MB / 3.373 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/8.652, allocations: 1.084 MB / 3.374 GB, free: 36.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/8.652, allocations: 3.562 kB / 3.374 GB, free: 36.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/8.652, allocations: 7.5 kB / 3.374 GB, free: 36.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/8.652, allocations: 25.08 kB / 3.374 GB, free: 36.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.846/9.498, allocations: 201.3 MB / 3.57 GB, free: 52.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/9.499, allocations: 412.5 kB / 3.571 GB, free: 52.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/9.499, allocations: 194.3 kB / 3.571 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04007/9.539, allocations: 16.29 MB / 3.587 GB, free: 43.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/9.539, allocations: 41.81 kB / 3.587 GB, free: 43.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.836e-06/9.539, allocations: 0 / 3.587 GB, free: 43.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.004812/9.544, allocations: 1.257 MB / 3.588 GB, free: 43.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/9.544, allocations: 209.5 kB / 3.588 GB, free: 43.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/9.546, allocations: 0.6588 MB / 3.589 GB, free: 43.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/9.546, allocations: 25.7 kB / 3.589 GB, free: 43.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/9.546, allocations: 0.5951 MB / 3.59 GB, free: 43.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/9.546, allocations: 153.3 kB / 3.59 GB, free: 43.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/9.547, allocations: 0 / 3.59 GB, free: 43.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/9.547, allocations: 395.3 kB / 3.59 GB, free: 42.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/9.547, allocations: 236.8 kB / 3.59 GB, free: 42.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/9.548, allocations: 0.6457 MB / 3.591 GB, free: 42.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/9.55, allocations: 0.5619 MB / 3.591 GB, free: 42.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/9.55, allocations: 3.062 kB / 3.591 GB, free: 42.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003322/9.553, allocations: 1.14 MB / 3.593 GB, free: 42.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001345/9.555, allocations: 5.054 MB / 3.598 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/9.555, allocations: 14.5 kB / 3.598 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.477e-05/9.555, allocations: 22.03 kB / 3.598 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/9.556, allocations: 304.8 kB / 3.598 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-05/9.556, allocations: 28.66 kB / 3.598 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/9.558, allocations: 255.9 kB / 3.598 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/9.558, allocations: 63.11 kB / 3.598 GB, free: 36.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/9.558, allocations: 8.531 kB / 3.598 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002514/9.56, allocations: 0.9364 MB / 3.599 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/9.56, allocations: 14.19 kB / 3.599 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/9.56, allocations: 22.72 kB / 3.599 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/9.561, allocations: 294.2 kB / 3.599 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/9.561, allocations: 25.59 kB / 3.599 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/9.563, allocations: 184.7 kB / 3.6 GB, free: 36.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/9.563, allocations: 55.02 kB / 3.6 GB, free: 36.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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.0002562/9.563, allocations: 150.6 kB / 3.6 GB, free: 36.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/9.563, allocations: 87.61 kB / 3.6 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/9.565, allocations: 1.437 MB / 3.601 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/9.565, allocations: 6.906 kB / 3.601 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/9.565, allocations: 0 / 3.601 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/9.565, allocations: 3.562 kB / 3.601 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/9.567, allocations: 1.076 MB / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/9.567, allocations: 0 / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/9.568, allocations: 103.1 kB / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/9.568, allocations: 0 / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/9.568, allocations: 6.438 kB / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/9.568, allocations: 0 / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/9.568, allocations: 7.719 kB / 3.602 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/9.569, allocations: 0.6073 MB / 3.603 GB, free: 35.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/9.57, allocations: 491.5 kB / 3.604 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/9.57, allocations: 0 / 3.604 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/9.571, allocations: 77.55 kB / 3.604 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/9.571, allocations: 28.34 kB / 3.604 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/9.571, allocations: 13.78 kB / 3.604 GB, free: 35.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001504/9.573, allocations: 1.082 MB / 3.605 GB, free: 35.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.873e-06/9.573, allocations: 0 / 3.605 GB, free: 35.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008471/9.581, allocations: 1.551 MB / 3.606 GB, free: 35.48 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.01245/9.594, allocations: 1.891 MB / 3.608 GB, free: 35.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/9.596, allocations: 0.9892 MB / 3.609 GB, free: 35.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/9.596, allocations: 0 / 3.609 GB, free: 35.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/9.596, allocations: 148.4 kB / 3.609 GB, free: 35.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/9.599, allocations: 369.6 kB / 3.61 GB, free: 35.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/9.602, allocations: 1.339 MB / 3.611 GB, free: 34.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/9.603, allocations: 1.197 MB / 3.612 GB, free: 33.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002994/9.606, allocations: 1.893 MB / 3.614 GB, free: 33.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/9.606, allocations: 90.22 kB / 3.614 GB, free: 33.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/9.606, allocations: 0 / 3.614 GB, free: 33.89 MB / 490.7 MB Notification: Performance of Templates: time 0.06534/9.671, allocations: 38.44 MB / 3.651 GB, free: 24.41 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1)