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.001042/0.001042, allocations: 182.4 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.7/1.7, 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.0008323/0.0008322, 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.2234/0.2234, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.5342, allocations: 90.13 MB / 0.5669 GB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5345, allocations: 94.75 kB / 0.567 GB, free: 9.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.5518, allocations: 5.846 MB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5518, allocations: 0 / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.5519, allocations: 4 kB / 0.5727 GB, free: 4.43 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009104/0.5528, allocations: 0.5147 MB / 0.5732 GB, free: 3.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5528, allocations: 11.97 kB / 0.5732 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.553, allocations: 60.8 kB / 0.5733 GB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.5541, allocations: 177.5 kB / 0.5734 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.5546, allocations: 257.5 kB / 0.5737 GB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.5546, allocations: 15.75 kB / 0.5737 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.5547, allocations: 23.19 kB / 0.5737 GB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.5555, allocations: 440.5 kB / 0.5741 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5555, allocations: 4 kB / 0.5741 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.5555, allocations: 7.25 kB / 0.5741 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.5556, allocations: 24.55 kB / 0.5742 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.5562, allocations: 393.5 kB / 0.5745 GB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.5588, allocations: 1.707 MB / 0.5762 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.5591, allocations: 97.47 kB / 0.5763 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.5591, allocations: 7.5 kB / 0.5763 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5592, allocations: 34.55 kB / 0.5763 GB, free: 0.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.5592, allocations: 4 kB / 0.5763 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006324/0.5598, allocations: 196.5 kB / 0.5765 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.5599, allocations: 55.41 kB / 0.5766 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.5602, allocations: 307.1 kB / 0.5769 GB, free: 284 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5603, allocations: 25.7 kB / 0.5769 GB, free: 252 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.5604, allocations: 179 kB / 0.5771 GB, free: 104 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.5604, allocations: 27.02 kB / 0.5771 GB, free: 80 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.5605, allocations: 3.812 kB / 0.5771 GB, free: 80 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5606, allocations: 342 kB / 0.5774 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.5608, allocations: 74.69 kB / 0.5775 GB, free: 15.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.5611, allocations: 111.5 kB / 0.5776 GB, free: 15.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5613, allocations: 94.31 kB / 0.5777 GB, free: 15.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5613, allocations: 0 / 0.5777 GB, free: 15.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005935/0.5619, allocations: 254.5 kB / 0.5779 GB, free: 15.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.5619, allocations: 10.66 kB / 0.578 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.562, allocations: 7.984 kB / 0.578 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.562, allocations: 4 kB / 0.578 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5637, allocations: 120 kB / 0.5781 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.5657, allocations: 1.842 MB / 0.5799 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.566, allocations: 43.06 kB / 0.5799 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.566, allocations: 10.62 kB / 0.5799 GB, free: 13.2 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 () * 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.0002064/0.5663, allocations: 155.2 kB / 0.5801 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.5663, allocations: 19.72 kB / 0.5801 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.5669, allocations: 219.6 kB / 0.5803 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5669, allocations: 0 / 0.5803 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5669, allocations: 0 / 0.5803 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.567, allocations: 0 / 0.5803 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.5674, allocations: 283.3 kB / 0.5806 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5674, allocations: 0 / 0.5806 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.5687, allocations: 99.52 kB / 0.5807 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5687, allocations: 0 / 0.5807 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5687, allocations: 7.938 kB / 0.5807 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.5701, allocations: 1.788 MB / 0.5824 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5701, allocations: 3.938 kB / 0.5824 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.5706, allocations: 270 kB / 0.5827 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5707, allocations: 108.8 kB / 0.5828 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.5708, allocations: 3.688 kB / 0.5828 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.571, allocations: 11.98 kB / 0.5828 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.571, allocations: 7.984 kB / 0.5828 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5711, allocations: 7.938 kB / 0.5828 GB, free: 10.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.5713, allocations: 239.5 kB / 0.583 GB, free: 9.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5713, allocations: 0 / 0.583 GB, free: 9.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.5717, allocations: 63.81 kB / 0.5831 GB, free: 9.941 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 (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.0009329/0.5727, allocations: 0.8472 MB / 0.5839 GB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.5745, allocations: 230.5 kB / 0.5842 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5745, allocations: 0 / 0.5842 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.5755, allocations: 111.6 kB / 0.5843 GB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.5758, allocations: 40.73 kB / 0.5843 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.5791, allocations: 2.534 MB / 0.5868 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5796, allocations: 0.7867 MB / 0.5875 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.5798, allocations: 50.25 kB / 0.5876 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.5799, allocations: 72.97 kB / 0.5877 GB, free: 5.484 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5799, allocations: 3.938 kB / 0.5877 GB, free: 5.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.6015, allocations: 7.587 MB / 0.5951 GB, free: 13.96 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.6018, allocations: 245.2 kB / 0.5953 GB, free: 13.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.708, allocations: 0 / 0.5953 GB, free: 13.63 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