Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",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.00143/0.00143, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001001/0.001001, allocations: 90.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2277/0.2277, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004113, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 58.86 MB / 490.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.5053, allocations: 90.99 MB / 0.5677 GB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5056, allocations: 92.94 kB / 0.5678 GB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.5221, allocations: 5.974 MB / 0.5737 GB, free: 3.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5221, allocations: 0 / 0.5737 GB, free: 3.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.5221, allocations: 4 kB / 0.5737 GB, free: 3.328 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006031/0.5228, allocations: 0.493 MB / 0.5741 GB, free: 2.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5228, allocations: 12.03 kB / 0.5742 GB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.5229, allocations: 63.22 kB / 0.5742 GB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.5242, allocations: 207.7 kB / 0.5744 GB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.5246, allocations: 257 kB / 0.5747 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.5246, allocations: 35.36 kB / 0.5747 GB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.5247, allocations: 27.3 kB / 0.5747 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.5256, allocations: 487.2 kB / 0.5752 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5256, allocations: 0 / 0.5752 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.5257, allocations: 15.11 kB / 0.5752 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.5257, allocations: 28.48 kB / 0.5752 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5269, allocations: 0.5873 MB / 0.5758 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.5291, allocations: 1.168 MB / 0.5769 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.5297, allocations: 177.5 kB / 0.5771 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5297, allocations: 0 / 0.5771 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5298, allocations: 34.56 kB / 0.5771 GB, free: 64 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.5298, allocations: 4 kB / 0.5771 GB, free: 60 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001193/0.531, allocations: 304.2 kB / 0.5774 GB, free: 15.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.531, allocations: 51.56 kB / 0.5775 GB, free: 15.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.5313, allocations: 255.7 kB / 0.5777 GB, free: 15.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5314, allocations: 29.58 kB / 0.5778 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5315, allocations: 174.1 kB / 0.5779 GB, free: 15.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.5315, allocations: 23.64 kB / 0.5779 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.5316, allocations: 3.75 kB / 0.5779 GB, free: 15.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5317, allocations: 334.4 kB / 0.5783 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.5321, allocations: 98.72 kB / 0.5784 GB, free: 14.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.5325, allocations: 122.8 kB / 0.5785 GB, free: 14.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.5328, allocations: 99.41 kB / 0.5786 GB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5328, allocations: 0 / 0.5786 GB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008051/0.5337, allocations: 272 kB / 0.5788 GB, free: 14.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5337, allocations: 8 kB / 0.5788 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5337, allocations: 0 / 0.5788 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5337, allocations: 0 / 0.5788 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/0.5396, allocations: 447.2 kB / 0.5793 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.5427, allocations: 1.951 MB / 0.5812 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.5431, allocations: 39.66 kB / 0.5812 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5432, allocations: 11.95 kB / 0.5812 GB, free: 11.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.5434, allocations: 165.2 kB / 0.5814 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.5434, allocations: 23.72 kB / 0.5814 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333e-05/0.5435, allocations: 25.2 kB / 0.5814 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5435, allocations: 0 / 0.5814 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5435, allocations: 0 / 0.5814 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5435, allocations: 0 / 0.5814 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.5439, allocations: 292.6 kB / 0.5817 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5439, allocations: 0 / 0.5817 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005813/0.5497, allocations: 446.7 kB / 0.5821 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.5497, allocations: 0 / 0.5821 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.5498, allocations: 11.92 kB / 0.5821 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.5529, allocations: 1.936 MB / 0.584 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5529, allocations: 3.984 kB / 0.584 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.5537, allocations: 330.3 kB / 0.5843 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.5539, allocations: 92.91 kB / 0.5844 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.5539, allocations: 4 kB / 0.5844 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.5543, allocations: 23.91 kB / 0.5845 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.5544, allocations: 7.984 kB / 0.5845 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5544, allocations: 96 / 0.5845 GB, free: 8.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5546, allocations: 212.5 kB / 0.5847 GB, free: 8.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5546, allocations: 4 kB / 0.5847 GB, free: 8.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.555, allocations: 75.72 kB / 0.5847 GB, free: 8.312 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.5562, allocations: 0.8984 MB / 0.5856 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005459/0.5617, allocations: 0.5372 MB / 0.5862 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5617, allocations: 0 / 0.5862 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005081/0.5668, allocations: 431.8 kB / 0.5866 GB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.5672, allocations: 40.28 kB / 0.5866 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.5706, allocations: 2.12 MB / 0.5887 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.571, allocations: 0.7895 MB / 0.5894 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.5712, allocations: 54.05 kB / 0.5895 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.5713, allocations: 69.34 kB / 0.5896 GB, free: 3.598 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5713, allocations: 0 / 0.5896 GB, free: 3.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.6012, allocations: 8.023 MB / 0.5974 GB, free: 11.64 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004661/0.6017, allocations: 270.4 kB / 0.5977 GB, free: 11.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.754, allocations: 0 / 0.5977 GB, free: 11.29 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat