Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 178.2 kB / 17.06 MB, free: 5.094 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.484/1.484, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 101.8 kB / 292.1 MB, free: 10.91 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.3364/0.3364, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 19.98 kB / 460 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3551, allocations: 61.89 MB / 0.5097 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4773, allocations: 91.24 MB / 0.5988 GB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.4777, allocations: 103.9 kB / 0.5989 GB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.4947, allocations: 6 MB / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4948, allocations: 0 / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4948, allocations: 4 kB / 0.6047 GB, free: 13.66 MB / 426.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.0007782/0.4956, allocations: 0.5028 MB / 0.6052 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4957, allocations: 12.03 kB / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/0.4957, allocations: 58.53 kB / 0.6053 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4968, allocations: 167.4 kB / 0.6054 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4972, allocations: 265 kB / 0.6057 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4973, allocations: 16.44 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.4973, allocations: 20 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.498, allocations: 441.1 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4981, allocations: 0 / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4981, allocations: 11.94 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.4981, allocations: 24.55 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.4988, allocations: 393.8 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.501, allocations: 1.708 MB / 0.6082 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.5012, allocations: 103.3 kB / 0.6083 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5012, allocations: 3.984 kB / 0.6083 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5013, allocations: 38.56 kB / 0.6084 GB, free: 9.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.5013, allocations: 0 / 0.6084 GB, free: 9.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005754/0.5019, allocations: 205.4 kB / 0.6086 GB, free: 9.445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5019, allocations: 55.34 kB / 0.6086 GB, free: 9.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.5022, allocations: 297.7 kB / 0.6089 GB, free: 9.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.5023, allocations: 33.7 kB / 0.6089 GB, free: 9.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5024, allocations: 174.1 kB / 0.6091 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.5024, allocations: 23.66 kB / 0.6091 GB, free: 8.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.5024, allocations: 8 kB / 0.6091 GB, free: 8.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5026, allocations: 330.8 kB / 0.6094 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.5028, allocations: 79.94 kB / 0.6095 GB, free: 8.434 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.503, allocations: 117.9 kB / 0.6096 GB, free: 8.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5032, allocations: 91.89 kB / 0.6097 GB, free: 8.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5032, allocations: 4 kB / 0.6097 GB, free: 8.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004989/0.5037, allocations: 254 kB / 0.61 GB, free: 7.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5037, allocations: 5.25 kB / 0.61 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5038, allocations: 4 kB / 0.61 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5038, allocations: 0 / 0.61 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.5055, allocations: 124 kB / 0.6101 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.5073, allocations: 1.844 MB / 0.6119 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.5076, allocations: 43.64 kB / 0.6119 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.5077, allocations: 4 kB / 0.6119 GB, free: 5.859 MB / 426.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 () * Number of clocked 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 0.0001801/0.5078, allocations: 158.5 kB / 0.6121 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.5079, allocations: 27.66 kB / 0.6121 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.5084, allocations: 211.2 kB / 0.6123 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5084, allocations: 0 / 0.6123 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5085, allocations: 0 / 0.6123 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5085, allocations: 3.984 kB / 0.6123 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.5088, allocations: 277.4 kB / 0.6126 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5089, allocations: 0 / 0.6126 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5101, allocations: 107.8 kB / 0.6127 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5101, allocations: 0 / 0.6127 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5101, allocations: 8 kB / 0.6127 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.5114, allocations: 1.793 MB / 0.6144 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5114, allocations: 0 / 0.6144 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.5119, allocations: 271.3 kB / 0.6147 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.512, allocations: 108.7 kB / 0.6148 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.512, allocations: 0 / 0.6148 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.5122, allocations: 11.94 kB / 0.6148 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5123, allocations: 11.98 kB / 0.6148 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5123, allocations: 0 / 0.6148 GB, free: 2.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.5126, allocations: 245.9 kB / 0.6151 GB, free: 2.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5126, allocations: 0 / 0.6151 GB, free: 2.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.513, allocations: 71.94 kB / 0.6151 GB, free: 2.41 MB / 426.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 (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.0008925/0.5139, allocations: 0.8331 MB / 0.6159 GB, free: 1.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.5155, allocations: 229.2 kB / 0.6162 GB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5155, allocations: 0 / 0.6162 GB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.5164, allocations: 113.5 kB / 0.6163 GB, free: 1.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.5167, allocations: 42.34 kB / 0.6163 GB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.5197, allocations: 2.535 MB / 0.6188 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.5201, allocations: 0.783 MB / 0.6196 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.5203, allocations: 58.19 kB / 0.6196 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.5204, allocations: 75.36 kB / 0.6197 GB, free: 13.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5204, allocations: 0 / 0.6197 GB, free: 13.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.5434, allocations: 7.572 MB / 0.6271 GB, free: 6.348 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.5438, allocations: 259.6 kB / 0.6273 GB, free: 6.012 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.693, allocations: 0 / 0.6273 GB, free: 6.012 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat