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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001148/0.001148, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.518/1.518, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008273/0.0008273, allocations: 90.59 kB / 267 MB, free: 9.27 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.4324/0.4324, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.354e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.6135, allocations: 90.03 MB / 0.5608 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.6139, allocations: 95.59 kB / 0.5609 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.6299, allocations: 5.851 MB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6299, allocations: 0 / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.63, allocations: 4 kB / 0.5667 GB, free: 10.41 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005927/0.6306, allocations: 0.4929 MB / 0.5671 GB, free: 9.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.6306, allocations: 8.031 kB / 0.5671 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.6307, allocations: 64.78 kB / 0.5672 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.6317, allocations: 172.8 kB / 0.5674 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.632, allocations: 247.2 kB / 0.5676 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6321, allocations: 18.12 kB / 0.5676 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.6321, allocations: 22.31 kB / 0.5676 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.6327, allocations: 417.9 kB / 0.568 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6327, allocations: 7.938 kB / 0.568 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.6327, allocations: 7.188 kB / 0.5681 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.6328, allocations: 24.55 kB / 0.5681 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.6332, allocations: 349 kB / 0.5684 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.635, allocations: 1.717 MB / 0.5701 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.6352, allocations: 89.34 kB / 0.5702 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.6353, allocations: 32.22 kB / 0.5702 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.6353, allocations: 8.141 kB / 0.5702 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.6353, allocations: 38.12 kB / 0.5702 GB, free: 6.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.6353, allocations: 0 / 0.5702 GB, free: 6.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002972/0.6356, allocations: 120.7 kB / 0.5704 GB, free: 6.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.6357, allocations: 51.41 kB / 0.5704 GB, free: 6.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.6359, allocations: 291.3 kB / 0.5707 GB, free: 6.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.636, allocations: 29.7 kB / 0.5707 GB, free: 6.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.6361, allocations: 183.6 kB / 0.5709 GB, free: 6.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.6362, allocations: 29.39 kB / 0.5709 GB, free: 6.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.6362, allocations: 4 kB / 0.5709 GB, free: 6.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.6363, allocations: 341.7 kB / 0.5713 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.6364, allocations: 57.53 kB / 0.5713 GB, free: 5.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.6365, allocations: 103.2 kB / 0.5714 GB, free: 5.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.6366, allocations: 70.62 kB / 0.5715 GB, free: 5.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6367, allocations: 0 / 0.5715 GB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003195/0.637, allocations: 219.4 kB / 0.5717 GB, free: 5.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.637, allocations: 12.02 kB / 0.5717 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.637, allocations: 4 kB / 0.5717 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.637, allocations: 0 / 0.5717 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6385, allocations: 119.2 kB / 0.5718 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6397, allocations: 1.843 MB / 0.5736 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.64, allocations: 43.3 kB / 0.5737 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.64, allocations: 11.19 kB / 0.5737 GB, free: 3.414 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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 7.287e-05/0.6401, allocations: 108.4 kB / 0.5738 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.6402, allocations: 15.81 kB / 0.5738 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.6406, allocations: 182.8 kB / 0.574 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6406, allocations: 0 / 0.574 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6406, allocations: 3.938 kB / 0.574 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6406, allocations: 7.953 kB / 0.574 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.6409, allocations: 274.6 kB / 0.5742 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6409, allocations: 0 / 0.5742 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.642, allocations: 103.5 kB / 0.5743 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.642, allocations: 0 / 0.5743 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.642, allocations: 4 kB / 0.5743 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/0.6428, allocations: 1.79 MB / 0.5761 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6428, allocations: 0 / 0.5761 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.6431, allocations: 235.2 kB / 0.5763 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.6431, allocations: 100.8 kB / 0.5764 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.6432, allocations: 0 / 0.5764 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.6434, allocations: 11.62 kB / 0.5764 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.6434, allocations: 11.92 kB / 0.5764 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.6435, allocations: 8.062 kB / 0.5764 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.6437, allocations: 241 kB / 0.5767 GB, free: 336 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6437, allocations: 0 / 0.5767 GB, free: 336 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.6441, allocations: 70.22 kB / 0.5767 GB, free: 272 kB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0006964/0.6448, allocations: 0.8076 MB / 0.5775 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.6462, allocations: 193.2 kB / 0.5777 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6462, allocations: 0 / 0.5777 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.647, allocations: 104 kB / 0.5778 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.6473, allocations: 36.38 kB / 0.5778 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.6485, allocations: 414.2 kB / 0.5782 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.6491, allocations: 0.7818 MB / 0.579 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.6493, allocations: 54.03 kB / 0.579 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.6494, allocations: 62.3 kB / 0.5791 GB, free: 13.88 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6494, allocations: 8 kB / 0.5791 GB, free: 13.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.6741, allocations: 7.594 MB / 0.5865 GB, free: 6.375 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.6744, allocations: 232.2 kB / 0.5867 GB, free: 6.141 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.813, allocations: 0 / 0.5867 GB, free: 6.141 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat