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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000867/0.0008669, allocations: 98.16 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.104e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5743, allocations: 87.59 MB / 0.5803 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.5746, allocations: 75.95 kB / 0.5804 GB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.5897, allocations: 5.392 MB / 0.5856 GB, free: 3.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5897, allocations: 0 / 0.5856 GB, free: 3.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.5897, allocations: 0 / 0.5856 GB, free: 3.305 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.000407/0.5902, allocations: 406.1 kB / 0.586 GB, free: 2.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5902, allocations: 15.97 kB / 0.586 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.5903, allocations: 11.91 kB / 0.5861 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5904, allocations: 173.2 kB / 0.5862 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5904, allocations: 7.953 kB / 0.5862 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.5904, allocations: 0 / 0.5862 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.5906, allocations: 60.94 kB / 0.5863 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.5907, allocations: 57.69 kB / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5907, allocations: 0 / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5907, allocations: 0 / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5907, allocations: 0 / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.5909, allocations: 174.1 kB / 0.5865 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.591, allocations: 55.44 kB / 0.5866 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.5911, allocations: 36.86 kB / 0.5866 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.5911, allocations: 23.94 kB / 0.5866 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5911, allocations: 30.56 kB / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.5912, allocations: 0 / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.02081/0.612, allocations: 1.861 MB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.6121, allocations: 51.97 kB / 0.5885 GB, free: 180 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6122, allocations: 117.2 kB / 0.5886 GB, free: 52 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.6122, allocations: 25.7 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.6123, allocations: 88.38 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.6124, allocations: 47.39 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.6124, allocations: 0 / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6125, allocations: 318.8 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.6126, allocations: 75.98 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.6128, allocations: 75.98 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.6141, allocations: 241.6 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6141, allocations: 0 / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00158/0.6157, allocations: 385.2 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6158, allocations: 5.406 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6158, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6158, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.6164, allocations: 71.88 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6164, allocations: 0 / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.6168, allocations: 39.95 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.6168, allocations: 7.984 kB / 0.5899 GB, free: 14.67 MB / 410.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 () * 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.0001018/0.6169, allocations: 105 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001569/0.6185, allocations: 381.2 kB / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.6185, allocations: 7.906 kB / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.6203, allocations: 426.4 kB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6203, allocations: 4 kB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6203, allocations: 0 / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6203, allocations: 0 / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.6236, allocations: 0.8686 MB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6236, allocations: 0 / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.6241, allocations: 64.03 kB / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.6241, allocations: 4 kB / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.6241, allocations: 7.984 kB / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6241, allocations: 0 / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6241, allocations: 4 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.6258, allocations: 0.5182 MB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6259, allocations: 109 kB / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.6259, allocations: 3.953 kB / 0.5924 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.6264, allocations: 39.97 kB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.6264, allocations: 11.98 kB / 0.5924 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.6264, allocations: 11.98 kB / 0.5924 GB, free: 12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.6265, allocations: 93.25 kB / 0.5925 GB, free: 11.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.473e-06/0.6265, allocations: 0 / 0.5925 GB, free: 11.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006176/0.6271, allocations: 183.7 kB / 0.5927 GB, free: 11.73 MB / 410.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 () * 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.002487/0.6296, allocations: 1.41 MB / 0.5941 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.63, allocations: 168 kB / 0.5942 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.63, allocations: 3.938 kB / 0.5942 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.6302, allocations: 91.91 kB / 0.5943 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.6304, allocations: 18.77 kB / 0.5943 GB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.6327, allocations: 460.3 kB / 0.5948 GB, free: 9.504 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.633, allocations: 0.7002 MB / 0.5955 GB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.6332, allocations: 44.34 kB / 0.5955 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6334, allocations: 35.39 kB / 0.5955 GB, free: 8.699 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6334, allocations: 8 kB / 0.5955 GB, free: 8.691 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.659, allocations: 6.202 MB / 0.6016 GB, free: 2.488 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.6592, allocations: 169 kB / 0.6018 GB, free: 2.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.405, allocations: 3.875 kB / 0.6018 GB, free: 2.297 MB / 410.7 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