Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 89.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2979/0.2979, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.507e-05, allocations: 4.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4226, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.5954, allocations: 86.4 MB / 0.5504 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/0.5959, allocations: 79.95 kB / 0.5505 GB, free: 12.71 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.6294, allocations: 5.273 MB / 0.5556 GB, free: 7.438 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6294, allocations: 4 kB / 0.5556 GB, free: 7.434 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.6294, allocations: 4 kB / 0.5556 GB, free: 7.43 MB / 395.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.0007929/0.6303, allocations: 402.8 kB / 0.556 GB, free: 6.992 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.6303, allocations: 12.03 kB / 0.556 GB, free: 6.98 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.667e-05/0.6304, allocations: 7.953 kB / 0.556 GB, free: 6.973 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.6307, allocations: 174.9 kB / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.6307, allocations: 0 / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.6308, allocations: 4 kB / 0.5562 GB, free: 6.758 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002191/0.631, allocations: 47.98 kB / 0.5562 GB, free: 6.711 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.6312, allocations: 73.66 kB / 0.5563 GB, free: 6.633 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6313, allocations: 7.922 kB / 0.5563 GB, free: 6.625 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.6313, allocations: 3.938 kB / 0.5563 GB, free: 6.621 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6313, allocations: 0 / 0.5563 GB, free: 6.621 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.6317, allocations: 174 kB / 0.5565 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.6319, allocations: 54.56 kB / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.6321, allocations: 36.86 kB / 0.5566 GB, free: 6.312 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.6322, allocations: 23.98 kB / 0.5566 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.6323, allocations: 30.56 kB / 0.5566 GB, free: 6.25 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.6323, allocations: 0 / 0.5566 GB, free: 6.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=12): time 0.05714/0.6895, allocations: 1.841 MB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.6896, allocations: 59.41 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.6898, allocations: 109.3 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.6899, allocations: 25.7 kB / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.69, allocations: 158.8 kB / 0.5588 GB, free: 4 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6901, allocations: 39.39 kB / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.6902, allocations: 0 / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6903, allocations: 318.8 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.6907, allocations: 75.98 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.6913, allocations: 83.86 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/0.6953, allocations: 243.8 kB / 0.5595 GB, free: 3.246 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6954, allocations: 0 / 0.5595 GB, free: 3.246 MB / 395.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.004563/0.6999, allocations: 373.3 kB / 0.5598 GB, free: 2.875 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.7001, allocations: 8 kB / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7001, allocations: 0 / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.7001, allocations: 4 kB / 0.5598 GB, free: 2.863 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.7016, allocations: 63.94 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7017, allocations: 0 / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7029, allocations: 43.95 kB / 0.5599 GB, free: 2.758 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.703, allocations: 7.984 kB / 0.56 GB, free: 2.75 MB / 395.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: 0 () * Number of discrete 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.0002002/0.7032, allocations: 116.8 kB / 0.5601 GB, free: 2.629 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004748/0.708, allocations: 373.8 kB / 0.5604 GB, free: 2.258 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.7081, allocations: 7.906 kB / 0.5604 GB, free: 2.25 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.7132, allocations: 433.9 kB / 0.5608 GB, free: 1.824 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7133, allocations: 0 / 0.5608 GB, free: 1.824 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7133, allocations: 0 / 0.5608 GB, free: 1.824 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.7133, allocations: 7.938 kB / 0.5609 GB, free: 1.816 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007635/0.721, allocations: 0.8572 MB / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.721, allocations: 4 kB / 0.5617 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.722, allocations: 71.95 kB / 0.5618 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.722, allocations: 4 kB / 0.5618 GB, free: 0.832 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.722, allocations: 7.953 kB / 0.5618 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7221, allocations: 0 / 0.5618 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7221, allocations: 0 / 0.5618 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.7251, allocations: 0.5144 MB / 0.5623 GB, free: 272 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.7253, allocations: 105 kB / 0.5624 GB, free: 148 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.7254, allocations: 4.094 kB / 0.5624 GB, free: 144 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/0.7262, allocations: 43.89 kB / 0.5624 GB, free: 100 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.7262, allocations: 8 kB / 0.5624 GB, free: 92 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.7263, allocations: 7.984 kB / 0.5624 GB, free: 84 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.7264, allocations: 95.28 kB / 0.5625 GB, free: 15.99 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7264, allocations: 4 kB / 0.5625 GB, free: 15.98 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008901/0.7273, allocations: 171.8 kB / 0.5627 GB, free: 15.82 MB / 411.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 () * 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.004432/0.7318, allocations: 1.402 MB / 0.5641 GB, free: 14.37 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.7324, allocations: 183.8 kB / 0.5642 GB, free: 14.19 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7325, allocations: 0 / 0.5642 GB, free: 14.19 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.7328, allocations: 95.91 kB / 0.5643 GB, free: 14.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.7331, allocations: 15.94 kB / 0.5643 GB, free: 14.08 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.7373, allocations: 493.8 kB / 0.5648 GB, free: 13.55 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.7377, allocations: 0.7041 MB / 0.5655 GB, free: 12.82 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.738, allocations: 39.41 kB / 0.5655 GB, free: 12.78 MB / 411.1 MB Notification: Performance of SimCode: time 1.032e-06/0.738, allocations: 0 / 0.5655 GB, free: 12.78 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/3.303, allocations: 5.15 MB / 0.5706 GB, free: 7.621 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat