Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_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.001141/0.001141, allocations: 92.12 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 183.7 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 61.93 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001501/0.1145, allocations: 1.125 MB / 472.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1164, allocations: 1.255 MB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1164, allocations: 0 / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1166, allocations: 23.91 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1167, allocations: 39.86 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.1171, allocations: 167.5 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1173, allocations: 43.88 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1173, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.1174, allocations: 23.92 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1174, allocations: 27.86 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.1175, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.118, allocations: 315.6 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1181, allocations: 0 / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.1181, allocations: 45.58 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1185, allocations: 199.8 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1185, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1185, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1185, allocations: 0 / 474.8 MB, free: 10.35 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.0005751/0.1191, allocations: 403.1 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1191, allocations: 8.562 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1192, allocations: 34.56 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.1192, allocations: 7.906 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1193, allocations: 167 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1194, allocations: 15.89 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1194, allocations: 0 / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1195, allocations: 69.67 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1196, allocations: 0 / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1196, allocations: 4 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1196, allocations: 0 / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.1197, allocations: 51.97 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1199, allocations: 197.5 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.12, allocations: 62.45 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.1201, allocations: 19.98 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1201, allocations: 30.56 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1201, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02064/0.1408, allocations: 1.685 MB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1408, allocations: 51.41 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.141, allocations: 138 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.141, allocations: 25.7 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.1411, allocations: 92.03 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.1412, allocations: 39.45 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.1412, allocations: 0 / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1413, allocations: 322.8 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.142, allocations: 208.1 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.1427, allocations: 216.2 kB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.1434, allocations: 196.6 kB / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1434, allocations: 0 / 478.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00151/0.1449, allocations: 488.8 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.145, allocations: 4 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.145, allocations: 3.984 kB / 479.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.145, allocations: 0 / 479.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.1456, allocations: 79.89 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1456, allocations: 0 / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.1461, allocations: 43.97 kB / 479.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.1461, allocations: 11.97 kB / 479.4 MB, free: 5.492 MB / 350.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.0001391/0.1463, allocations: 121.7 kB / 479.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1463, allocations: 11.89 kB / 479.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.1479, allocations: 405.9 kB / 479.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1479, allocations: 4 kB / 479.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1479, allocations: 0 / 479.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1479, allocations: 0 / 479.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.1511, allocations: 0.8245 MB / 480.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1511, allocations: 0 / 480.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.1517, allocations: 75.84 kB / 480.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.1517, allocations: 96 / 480.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1517, allocations: 23.97 kB / 480.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1517, allocations: 7.984 kB / 480.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1517, allocations: 0 / 480.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.1532, allocations: 490.8 kB / 481.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1533, allocations: 109 kB / 481.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1534, allocations: 11.94 kB / 481.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.1539, allocations: 35.97 kB / 481.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1539, allocations: 15.98 kB / 481.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.154, allocations: 15.95 kB / 481.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.154, allocations: 98.22 kB / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.154, allocations: 0 / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006036/0.1546, allocations: 167.9 kB / 481.8 MB, free: 2.965 MB / 350.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.002342/0.157, allocations: 1.367 MB / 483.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.1585, allocations: 407.7 kB / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1585, allocations: 96 / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.1591, allocations: 167.9 kB / 483.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1594, allocations: 16 kB / 483.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.1627, allocations: 0.8345 MB / 484.6 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.163, allocations: 0.6965 MB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.1633, allocations: 44.64 kB / 485.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.1635, allocations: 59.34 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1635, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.1915, allocations: 9.48 MB / 494.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.1918, allocations: 213.8 kB / 495.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.155, allocations: 0 / 495.1 MB, free: 5.691 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat