Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 77.48 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 62.46 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003095/0.1343, allocations: 1.458 MB / 481.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1367, allocations: 1.452 MB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.1368, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1371, allocations: 31.77 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1374, allocations: 51.7 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.138, allocations: 223.4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1381, allocations: 59.66 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.1382, allocations: 8 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.1382, allocations: 19.94 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.1384, allocations: 27.84 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1384, allocations: 3.984 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.1391, allocations: 339.6 kB / 483.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.1391, allocations: 7.938 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1392, allocations: 31.78 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.1396, allocations: 271.4 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1396, allocations: 0 / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1396, allocations: 0 / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1396, allocations: 4 kB / 484.2 MB, free: 1.164 MB / 350.1 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.000594/0.1403, allocations: 419.1 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1403, allocations: 8.031 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1404, allocations: 34.75 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.1404, allocations: 8.844 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1406, allocations: 178.8 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1406, allocations: 384 / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1406, allocations: 8.359 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1408, allocations: 73.56 kB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1408, allocations: 4 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1408, allocations: 0 / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1408, allocations: 0 / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1409, allocations: 63.89 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1412, allocations: 185.6 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1413, allocations: 50.56 kB / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.1414, allocations: 44.78 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.027e-05/0.1415, allocations: 24.16 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1415, allocations: 34.56 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1415, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02082/0.1623, allocations: 1.622 MB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.1624, allocations: 59.34 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1626, allocations: 134 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1626, allocations: 25.7 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.1627, allocations: 84.14 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.1628, allocations: 43.33 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1629, allocations: 49.59 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1631, allocations: 326.8 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.1637, allocations: 211.8 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.1644, allocations: 202.5 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.1657, allocations: 380.7 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1657, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001427/0.1672, allocations: 461.2 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1672, allocations: 6.656 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1672, allocations: 0 / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1672, allocations: 0 / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.1678, allocations: 71.92 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1678, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.1682, allocations: 39.97 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1683, allocations: 11.98 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1684, allocations: 117.8 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1684, allocations: 7.906 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.1699, allocations: 362.1 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1699, allocations: 0 / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1699, allocations: 0 / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1699, allocations: 3.938 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.1729, allocations: 0.7818 MB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1729, allocations: 4 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.1734, allocations: 59.94 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1735, allocations: 3.938 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1735, allocations: 16.02 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1735, allocations: 8.031 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1735, allocations: 3.938 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1749, allocations: 414 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.175, allocations: 112.9 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.175, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.1755, allocations: 55.83 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.1755, allocations: 7.984 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1755, allocations: 4 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.511e-05/0.1756, allocations: 110.6 kB / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.1762, allocations: 167.9 kB / 491.2 MB, free: 9.785 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/0.1785, allocations: 1.099 MB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.1799, allocations: 379.7 kB / 492.7 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1799, allocations: 0 / 492.7 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.1805, allocations: 148 kB / 492.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1809, allocations: 12 kB / 492.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.188, allocations: 2.748 MB / 495.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1883, allocations: 0.7041 MB / 496.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.1886, allocations: 40.86 kB / 496.3 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1887, allocations: 35.41 kB / 496.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1888, allocations: 0 / 496.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.2225, allocations: 9.89 MB / 0.4944 GB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.24, allocations: 20.42 kB / 0.4944 GB, free: 10.7 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1)