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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.00113/0.001138, allocations: 96.28 kB / 15.69 MB, free: 480 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.001266/0.001266, allocations: 176.9 kB / 16.57 MB, free: 6.852 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.977/1.977, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4046/0.4046, allocations: 43.54 MB / 314.5 MB, free: 9.102 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.000814/0.0008143, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1475, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002393/0.15, allocations: 1.549 MB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1517, allocations: 1.018 MB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.1518, allocations: 0 / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1521, allocations: 59.72 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1523, allocations: 63.73 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1526, allocations: 123.6 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1529, allocations: 191.5 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.153, allocations: 36.72 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1531, allocations: 87.56 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1533, allocations: 95.53 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1533, allocations: 8 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.1538, allocations: 303.6 kB / 446.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1539, allocations: 47.81 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.1539, allocations: 69.52 kB / 446.5 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1543, allocations: 287.7 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1543, allocations: 0 / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1543, allocations: 3.938 kB / 446.8 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1543, allocations: 0 / 446.8 MB, free: 9.246 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007137/0.1551, allocations: 0.5189 MB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1551, allocations: 12.03 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.006e-05/0.1552, allocations: 82.52 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.1553, allocations: 31.62 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1557, allocations: 234.7 kB / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1557, allocations: 21 kB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.1558, allocations: 35.92 kB / 447.7 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.1566, allocations: 493.4 kB / 448.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1567, allocations: 4 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.1567, allocations: 23.94 kB / 448.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.1568, allocations: 24.98 kB / 448.2 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.1575, allocations: 435.7 kB / 448.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1591, allocations: 1.205 MB / 449.9 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1594, allocations: 86.53 kB / 450 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1594, allocations: 0 / 450 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1594, allocations: 34.56 kB / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1594, allocations: 0 / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005208/0.16, allocations: 173.5 kB / 450.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.16, allocations: 55.36 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1602, allocations: 170.3 kB / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1603, allocations: 25.7 kB / 450.4 MB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1604, allocations: 219.3 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1604, allocations: 31.55 kB / 450.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.1605, allocations: 4 kB / 450.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1606, allocations: 322.8 kB / 451 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1608, allocations: 59.89 kB / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.161, allocations: 180.1 kB / 451.2 MB, free: 4.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1612, allocations: 87.89 kB / 451.3 MB, free: 4.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1612, allocations: 0 / 451.3 MB, free: 4.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000449/0.1616, allocations: 261.3 kB / 451.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1617, allocations: 11.98 kB / 451.6 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1617, allocations: 8.562 kB / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1617, allocations: 15.95 kB / 451.6 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.162, allocations: 87.88 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.163, allocations: 1.778 MB / 453.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1632, allocations: 35.73 kB / 453.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.1632, allocations: 16 kB / 453.5 MB, free: 2.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002853/0.1635, allocations: 177.6 kB / 453.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.1635, allocations: 16 kB / 453.7 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/0.1641, allocations: 205.9 kB / 453.9 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1642, allocations: 3.953 kB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1642, allocations: 4 kB / 453.9 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1642, allocations: 0 / 453.9 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.1646, allocations: 289.5 kB / 454.2 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1646, allocations: 0 / 454.2 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.1648, allocations: 59.95 kB / 454.2 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1648, allocations: 7.938 kB / 454.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1649, allocations: 4 kB / 454.3 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2477/0.4125, allocations: 1.77 MB / 456 MB, free: 46.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4126, allocations: 3.734 kB / 456 MB, free: 46.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.4129, allocations: 226.3 kB / 456.2 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.413, allocations: 91.22 kB / 456.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.413, allocations: 8.625 kB / 456.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4131, allocations: 6.781 kB / 456.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4132, allocations: 8.703 kB / 456.4 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4132, allocations: 9 kB / 456.4 MB, free: 46.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.4133, allocations: 114.6 kB / 456.5 MB, free: 46.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.4133, allocations: 0 / 456.5 MB, free: 46.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.4138, allocations: 101.6 kB / 456.6 MB, free: 46.07 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 (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.0005985/0.4144, allocations: 0.804 MB / 457.4 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.415, allocations: 193.2 kB / 457.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.415, allocations: 0 / 457.6 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.4153, allocations: 94.25 kB / 457.7 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.4155, allocations: 11.33 kB / 457.7 MB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.4173, allocations: 3.937 MB / 461.6 MB, free: 42.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.4175, allocations: 0.8068 MB / 462.4 MB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.4177, allocations: 68.67 kB / 462.5 MB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.4178, allocations: 76.56 kB / 462.6 MB, free: 41.35 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4178, allocations: 0 / 462.6 MB, free: 41.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.4346, allocations: 4.729 MB / 467.3 MB, free: 40.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.4349, allocations: 286.7 kB / 467.6 MB, free: 40.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.43, allocations: 0 / 467.6 MB, free: 40.44 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat