Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007467/0.007467, allocations: 165.2 kB / 15.11 MB, free: 5.973 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.414/1.414, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001673/0.001673, allocations: 110.6 kB / 226.2 MB, free: 10.12 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.3941/0.3941, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 16 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.5351, allocations: 75.87 MB / 487.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5355, allocations: 78.27 kB / 487.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.5489, allocations: 5.293 MB / 492.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.5489, allocations: 0 / 492.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.549, allocations: 0 / 492.8 MB, free: 7.398 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005543/0.5495, allocations: 420.4 kB / 493.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.5496, allocations: 8.031 kB / 493.2 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.5497, allocations: 15.11 kB / 493.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5498, allocations: 171 kB / 493.4 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5498, allocations: 4 kB / 493.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.5499, allocations: 0 / 493.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.5501, allocations: 69.2 kB / 493.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5501, allocations: 3.906 kB / 493.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5501, allocations: 4 kB / 493.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5501, allocations: 1.031 kB / 493.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.5502, allocations: 60.22 kB / 493.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.5505, allocations: 195 kB / 493.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5506, allocations: 57.75 kB / 493.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/0.5507, allocations: 19.42 kB / 493.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5507, allocations: 30.56 kB / 493.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.5507, allocations: 4 kB / 493.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.01589/0.5666, allocations: 1.329 MB / 495.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5668, allocations: 55.34 kB / 495.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5669, allocations: 119.7 kB / 495.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.5669, allocations: 25.7 kB / 495.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.567, allocations: 90.56 kB / 495.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.567, allocations: 42.08 kB / 495.5 MB, free: 4.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.567, allocations: 3.938 kB / 495.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.5671, allocations: 326.5 kB / 495.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.5674, allocations: 91.52 kB / 495.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.5677, allocations: 96.31 kB / 496 MB, free: 4.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.568, allocations: 90.5 kB / 496.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5681, allocations: 0 / 496.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007443/0.5688, allocations: 249.4 kB / 496.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5689, allocations: 4 kB / 496.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5689, allocations: 0 / 496.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.5689, allocations: 4 kB / 496.4 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.5693, allocations: 39.91 kB / 496.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5693, allocations: 4 kB / 496.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.5695, allocations: 11.98 kB / 496.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5696, allocations: 11.36 kB / 496.4 MB, free: 3.938 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001448/0.5697, allocations: 121.9 kB / 496.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.5698, allocations: 7.906 kB / 496.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008574/0.5706, allocations: 286.2 kB / 496.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.5706, allocations: 7.938 kB / 496.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5706, allocations: 0 / 496.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5707, allocations: 11.86 kB / 496.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.5724, allocations: 0.669 MB / 497.5 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5724, allocations: 0 / 497.5 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.5727, allocations: 39.97 kB / 497.6 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5727, allocations: 0 / 497.6 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5728, allocations: 8.75 kB / 497.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5728, allocations: 96 / 497.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5728, allocations: 11.95 kB / 497.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.5735, allocations: 384.3 kB / 498 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.5736, allocations: 103.9 kB / 498.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.5737, allocations: 0 / 498.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5739, allocations: 21.98 kB / 498.1 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.574, allocations: 11.86 kB / 498.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.574, allocations: 7.938 kB / 498.1 MB, free: 2.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.5741, allocations: 102.2 kB / 498.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5741, allocations: 0 / 498.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007047/0.5748, allocations: 171.1 kB / 498.4 MB, free: 2.125 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008641/0.5756, allocations: 258.7 kB / 498.6 MB, free: 1.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.5763, allocations: 210.5 kB / 498.8 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5764, allocations: 3.25 kB / 498.8 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.5767, allocations: 111.7 kB / 498.9 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.577, allocations: 22.62 kB / 499 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5784, allocations: 414 kB / 499.4 MB, free: 1.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.5787, allocations: 0.7043 MB / 0.4883 GB, free: 500 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.5789, allocations: 32.41 kB / 0.4884 GB, free: 468 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.579, allocations: 23.42 kB / 0.4884 GB, free: 444 kB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.579, allocations: 0 / 0.4884 GB, free: 444 kB / 330.7 MB Notification: Performance of Templates: time 0.01272/0.5918, allocations: 5.175 MB / 0.4934 GB, free: 11.27 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)