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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.91 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 179.9 kB / 16.57 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 222.7 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3954/0.3954, allocations: 43.55 MB / 314.5 MB, free: 9.059 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005044, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1462, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00202/0.1483, allocations: 1.451 MB / 444.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1498, allocations: 0.8861 MB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1498, allocations: 0 / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1501, allocations: 51.8 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1502, allocations: 59.75 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1505, allocations: 83.81 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1507, allocations: 151.6 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.1508, allocations: 25.66 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1509, allocations: 75.64 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1511, allocations: 87.66 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1511, allocations: 7.938 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.1514, allocations: 191.8 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.1515, allocations: 55.81 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.1516, allocations: 61.58 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1519, allocations: 183.9 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1519, allocations: 0 / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1519, allocations: 0 / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1519, allocations: 0 / 446.2 MB, free: 9.797 MB / 382.1 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.0008017/0.1527, allocations: 0.5105 MB / 446.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1528, allocations: 12.03 kB / 446.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.1528, allocations: 58.55 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.1537, allocations: 135.4 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.154, allocations: 266.5 kB / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.154, allocations: 12.44 kB / 447.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1541, allocations: 16 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.1548, allocations: 445.8 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1548, allocations: 0 / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1548, allocations: 4 kB / 447.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.1549, allocations: 24.55 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.1556, allocations: 409.8 kB / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1576, allocations: 1.473 MB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1579, allocations: 94.52 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1579, allocations: 4.141 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1579, allocations: 42.55 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.1579, allocations: 0 / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005895/0.1585, allocations: 205.2 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1586, allocations: 55.41 kB / 450 MB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.1589, allocations: 334.5 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.159, allocations: 25.7 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1591, allocations: 179.1 kB / 450.5 MB, free: 5.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1591, allocations: 27.64 kB / 450.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.1591, allocations: 7.938 kB / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1593, allocations: 334.8 kB / 450.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1595, allocations: 75.94 kB / 450.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1597, allocations: 121.9 kB / 451 MB, free: 4.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1599, allocations: 91.88 kB / 451.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1599, allocations: 0 / 451.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004942/0.1604, allocations: 245.2 kB / 451.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1604, allocations: 11.95 kB / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1605, allocations: 0 / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1605, allocations: 4 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.162, allocations: 124 kB / 451.5 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.1639, allocations: 1.84 MB / 453.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1642, allocations: 39.7 kB / 453.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1642, allocations: 4 kB / 453.4 MB, free: 2.238 MB / 382.1 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.0001792/0.1644, allocations: 161.8 kB / 453.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.1645, allocations: 31.67 kB / 453.6 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.165, allocations: 207.1 kB / 453.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.165, allocations: 7.938 kB / 453.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.165, allocations: 0 / 453.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.165, allocations: 0 / 453.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.1654, allocations: 281.4 kB / 454.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1654, allocations: 0 / 454.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.1666, allocations: 103.8 kB / 454.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1666, allocations: 8 kB / 454.2 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1666, allocations: 3.953 kB / 454.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2694/0.436, allocations: 1.788 MB / 456 MB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4361, allocations: 0.875 kB / 456 MB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.4366, allocations: 259.1 kB / 456.2 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4368, allocations: 109.4 kB / 456.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.4368, allocations: 3.469 kB / 456.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.4371, allocations: 10.78 kB / 456.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.4371, allocations: 14.48 kB / 456.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4372, allocations: 7.016 kB / 456.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.4375, allocations: 240.9 kB / 456.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4375, allocations: 0.8125 kB / 456.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.4379, allocations: 61.84 kB / 456.7 MB, free: 46.11 MB / 382.1 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.0006739/0.4386, allocations: 0.8112 MB / 457.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.4408, allocations: 274.1 kB / 457.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4408, allocations: 3.031 kB / 457.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.4417, allocations: 117.8 kB / 457.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.4421, allocations: 38.39 kB / 457.9 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4445, allocations: 2.52 MB / 460.4 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.4447, allocations: 0.7867 MB / 461.2 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.4449, allocations: 53.25 kB / 461.2 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.445, allocations: 77.47 kB / 461.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.445, allocations: 3.75 kB / 461.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.463, allocations: 7.048 MB / 468.4 MB, free: 42.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.4632, allocations: 255.8 kB / 468.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.482, allocations: 0 / 468.6 MB, free: 42.43 MB / 382.1 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) Environment - environmentSimulation: 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