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.001844/0.001844, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008372/0.000837, allocations: 87.86 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.734e-05, allocations: 4 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.5802, allocations: 88.24 MB / 0.588 GB, free: 1.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5805, allocations: 79.95 kB / 0.588 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01831/0.5989, allocations: 5.501 MB / 0.5934 GB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5989, allocations: 0 / 0.5934 GB, free: 11.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.599, allocations: 0 / 0.5934 GB, free: 11.45 MB / 410.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.0006759/0.5997, allocations: 402.1 kB / 0.5938 GB, free: 11.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.5997, allocations: 8.031 kB / 0.5938 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.5998, allocations: 38.55 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.5999, allocations: 15.84 kB / 0.5939 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.6001, allocations: 172.5 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6001, allocations: 4 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.6002, allocations: 0 / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6004, allocations: 65.67 kB / 0.5941 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6004, allocations: 0 / 0.5941 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.6004, allocations: 4 kB / 0.5941 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.6004, allocations: 4 kB / 0.5941 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.6005, allocations: 51.97 kB / 0.5941 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.6008, allocations: 197.5 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.601, allocations: 66.45 kB / 0.5944 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.6011, allocations: 40.84 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.6011, allocations: 16 kB / 0.5945 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6012, allocations: 34.56 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.6012, allocations: 0 / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.01844/0.6196, allocations: 1.416 MB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6197, allocations: 55.34 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6199, allocations: 118 kB / 0.596 GB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.6199, allocations: 25.7 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.62, allocations: 96.36 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.62, allocations: 39.39 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.6201, allocations: 4 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6202, allocations: 322.8 kB / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.6204, allocations: 79.98 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.6205, allocations: 82.66 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.6207, allocations: 71.95 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6207, allocations: 0 / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004623/0.6212, allocations: 209.5 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6212, allocations: 8 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6213, allocations: 0 / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6213, allocations: 0 / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.6218, allocations: 67.94 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6219, allocations: 4 kB / 0.597 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.6223, allocations: 39.95 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.6223, allocations: 12.16 kB / 0.597 GB, free: 7.477 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.0001043/0.6224, allocations: 112.9 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.6225, allocations: 11.81 kB / 0.5972 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.6231, allocations: 258.1 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6231, allocations: 0 / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6232, allocations: 4 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6232, allocations: 0 / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.6254, allocations: 0.7354 MB / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6255, allocations: 0 / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.626, allocations: 60.03 kB / 0.5982 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.626, allocations: 11.98 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.626, allocations: 11.98 kB / 0.5982 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.626, allocations: 0 / 0.5982 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.626, allocations: 0 / 0.5982 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.6266, allocations: 355.5 kB / 0.5986 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.6267, allocations: 112.8 kB / 0.5987 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.6267, allocations: 7.984 kB / 0.5987 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.6272, allocations: 35.97 kB / 0.5987 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.6272, allocations: 15.98 kB / 0.5987 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.6273, allocations: 4 kB / 0.5987 GB, free: 5.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.748e-05/0.6273, allocations: 101.5 kB / 0.5988 GB, free: 5.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6273, allocations: 0 / 0.5988 GB, free: 5.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006474/0.628, allocations: 183.7 kB / 0.599 GB, free: 5.352 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.001567/0.6296, allocations: 1.249 MB / 0.6002 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.63, allocations: 183.9 kB / 0.6004 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.63, allocations: 0 / 0.6004 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.6302, allocations: 99.91 kB / 0.6005 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.6304, allocations: 24.16 kB / 0.6005 GB, free: 3.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.6328, allocations: 488.8 kB / 0.601 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6331, allocations: 0.7004 MB / 0.6017 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.6333, allocations: 32.42 kB / 0.6017 GB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.6335, allocations: 35.41 kB / 0.6017 GB, free: 2.441 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6335, allocations: 4 kB / 0.6017 GB, free: 2.438 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.6558, allocations: 6.84 MB / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.6561, allocations: 183.9 kB / 0.6086 GB, free: 11.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.453, allocations: 0 / 0.6086 GB, free: 11.5 MB / 426.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