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.002249/0.002248, allocations: 185.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 86.2 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5395/0.5395, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006436/0.0006435, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1406, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6292, allocations: 87.15 MB / 0.5639 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.6296, allocations: 83.95 kB / 0.564 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02525/0.6549, allocations: 5.383 MB / 0.5693 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6549, allocations: 0 / 0.5693 GB, free: 9.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.655, allocations: 4 kB / 0.5693 GB, free: 9.887 MB / 394.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.0007482/0.6557, allocations: 430.6 kB / 0.5697 GB, free: 9.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.6558, allocations: 12.02 kB / 0.5697 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.6559, allocations: 37.81 kB / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.6559, allocations: 11.34 kB / 0.5697 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.6561, allocations: 171 kB / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.6561, allocations: 4 kB / 0.5699 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.6562, allocations: 0 / 0.5699 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.6564, allocations: 61.69 kB / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.6564, allocations: 7.938 kB / 0.57 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.6564, allocations: 5.031 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6564, allocations: 3.984 kB / 0.57 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.6566, allocations: 55.97 kB / 0.57 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.6569, allocations: 197.5 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.6571, allocations: 58.55 kB / 0.5703 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.6572, allocations: 22.23 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6572, allocations: 34.56 kB / 0.5703 GB, free: 8.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/0.6572, allocations: 0 / 0.5703 GB, free: 8.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.03753/0.6948, allocations: 1.62 MB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.6949, allocations: 51.41 kB / 0.572 GB, free: 6.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.695, allocations: 117.2 kB / 0.5721 GB, free: 6.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.6951, allocations: 25.7 kB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.6952, allocations: 162.8 kB / 0.5723 GB, free: 6.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.6953, allocations: 47.3 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.6953, allocations: 0 / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6955, allocations: 310.8 kB / 0.5726 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.6966, allocations: 135.9 kB / 0.5727 GB, free: 6.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.6976, allocations: 135.9 kB / 0.5729 GB, free: 5.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6988, allocations: 124.5 kB / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6988, allocations: 0 / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002373/0.7012, allocations: 319.1 kB / 0.5733 GB, free: 5.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.7012, allocations: 13.5 kB / 0.5733 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7013, allocations: 7.125 kB / 0.5733 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.7013, allocations: 0 / 0.5733 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009743/0.7023, allocations: 59.94 kB / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7023, allocations: 4 kB / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.7031, allocations: 47.03 kB / 0.5734 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.7032, allocations: 8 kB / 0.5734 GB, free: 5.418 MB / 394.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.000186/0.7034, allocations: 121.8 kB / 0.5735 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.7034, allocations: 7.906 kB / 0.5735 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.7061, allocations: 370 kB / 0.5739 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7061, allocations: 3.984 kB / 0.5739 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7062, allocations: 0 / 0.5739 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.7062, allocations: 0 / 0.5739 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.7117, allocations: 0.8371 MB / 0.5747 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7117, allocations: 0 / 0.5747 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009394/0.7127, allocations: 68.03 kB / 0.5748 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7127, allocations: 3.984 kB / 0.5748 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.7128, allocations: 11.95 kB / 0.5748 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7128, allocations: 4.031 kB / 0.5748 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7128, allocations: 7.938 kB / 0.5748 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.7152, allocations: 462.9 kB / 0.5752 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.7154, allocations: 109 kB / 0.5754 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.7155, allocations: 4 kB / 0.5754 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.7163, allocations: 39.97 kB / 0.5754 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.7164, allocations: 11.92 kB / 0.5754 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.7164, allocations: 11.98 kB / 0.5754 GB, free: 3.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.7165, allocations: 102.9 kB / 0.5755 GB, free: 3.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7166, allocations: 4 kB / 0.5755 GB, free: 3.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008643/0.7174, allocations: 175.7 kB / 0.5757 GB, free: 2.965 MB / 394.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.003782/0.7212, allocations: 1.353 MB / 0.577 GB, free: 1.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.7235, allocations: 287.8 kB / 0.5773 GB, free: 1.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/0.7236, allocations: 4 kB / 0.5773 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7247, allocations: 152 kB / 0.5774 GB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.7251, allocations: 20.5 kB / 0.5775 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.7304, allocations: 0.6794 MB / 0.5781 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.7308, allocations: 0.6965 MB / 0.5788 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.7311, allocations: 35.41 kB / 0.5788 GB, free: 15.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7311, allocations: 4 kB / 0.5788 GB, free: 15.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/3.241, allocations: 5.06 MB / 0.5838 GB, free: 10.58 MB / 410.7 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