Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 175.2 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4502/0.4502, allocations: 43.55 MB / 314.5 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005886/0.0005889, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1585, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001806/0.1603, allocations: 1.141 MB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1623, allocations: 1.287 MB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.1623, allocations: 0 / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1625, allocations: 31.83 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1627, allocations: 39.86 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.163, allocations: 171.5 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1632, allocations: 35.94 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.1632, allocations: 7.984 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.1633, allocations: 23.86 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.1634, allocations: 31.84 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1634, allocations: 0 / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.1639, allocations: 311.6 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1639, allocations: 15.92 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.164, allocations: 33.7 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.1643, allocations: 175.9 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1643, allocations: 0 / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1643, allocations: 0 / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1643, allocations: 0 / 446.1 MB, free: 9.879 MB / 382.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.0005636/0.1649, allocations: 418.9 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1649, allocations: 12.02 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.165, allocations: 38.52 kB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.165, allocations: 7.906 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1652, allocations: 175 kB / 446.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1652, allocations: 4 kB / 446.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1653, allocations: 4 kB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1654, allocations: 61.67 kB / 446.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1654, allocations: 3.906 kB / 446.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1655, allocations: 4 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1655, allocations: 3.953 kB / 446.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.1656, allocations: 63.84 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1658, allocations: 189.6 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.1659, allocations: 54.56 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.166, allocations: 19.98 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.166, allocations: 34.56 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.166, allocations: 0 / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02027/0.1863, allocations: 1.689 MB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1864, allocations: 55.34 kB / 449 MB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1865, allocations: 134 kB / 449.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1866, allocations: 33.64 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.1867, allocations: 92.11 kB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.1867, allocations: 39.47 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.1868, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.187, allocations: 322.8 kB / 449.6 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.1877, allocations: 212 kB / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.1884, allocations: 208.2 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.1891, allocations: 188.7 kB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1891, allocations: 4 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001502/0.1906, allocations: 483.3 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1906, allocations: 4 kB / 450.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.1906, allocations: 4 kB / 450.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1907, allocations: 7.953 kB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005919/0.1913, allocations: 75.83 kB / 450.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1913, allocations: 4 kB / 450.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.1918, allocations: 39.95 kB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.1919, allocations: 19.97 kB / 450.8 MB, free: 4.988 MB / 382.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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.192, allocations: 117.8 kB / 450.9 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.192, allocations: 7.812 kB / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.1937, allocations: 397.9 kB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1937, allocations: 4 kB / 451.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1937, allocations: 7.938 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1937, allocations: 0 / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.1969, allocations: 0.8129 MB / 452.1 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.197, allocations: 0 / 452.1 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.1975, allocations: 87.94 kB / 452.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1975, allocations: 96 / 452.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.1976, allocations: 19.91 kB / 452.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1976, allocations: 0 / 452.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1976, allocations: 3.938 kB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1992, allocations: 490.8 kB / 452.7 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1994, allocations: 108.9 kB / 452.8 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.1994, allocations: 8 kB / 452.8 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.1999, allocations: 43.95 kB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2, allocations: 7.938 kB / 452.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.2, allocations: 23.92 kB / 452.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.097e-05/0.2001, allocations: 103 kB / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2001, allocations: 0 / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007667/0.2009, allocations: 180 kB / 453.2 MB, free: 2.461 MB / 382.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 (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.002646/0.2036, allocations: 1.359 MB / 454.5 MB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2051, allocations: 395.7 kB / 454.9 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2052, allocations: 4 kB / 454.9 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.2058, allocations: 164 kB / 455.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2061, allocations: 15.98 kB / 455.1 MB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2772/0.4834, allocations: 0.819 MB / 455.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4838, allocations: 0.6954 MB / 456.6 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.4841, allocations: 50.62 kB / 456.7 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4843, allocations: 57.19 kB / 456.7 MB, free: 45.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4843, allocations: 0 / 456.7 MB, free: 45.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.5104, allocations: 9.493 MB / 466.2 MB, free: 44.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.5107, allocations: 206.8 kB / 466.4 MB, free: 44.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.612, allocations: 0 / 466.4 MB, free: 44.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat