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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.00101/0.00101, allocations: 96.39 kB / 15.7 MB, free: 468 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.001277/0.001277, allocations: 167.5 kB / 16.57 MB, free: 6.047 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.415/1.415, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.3536/0.3536, allocations: 43.54 MB / 314.6 MB, free: 8.754 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.0006121/0.0006123, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002029/0.1473, allocations: 1.369 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1488, allocations: 0.7727 MB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.1489, allocations: 0 / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1491, allocations: 31.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1494, allocations: 51.75 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1497, allocations: 75.77 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.15, allocations: 183.1 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.15, allocations: 17.39 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1502, allocations: 63.72 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1504, allocations: 71.69 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1504, allocations: 4 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1507, allocations: 151.8 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.1508, allocations: 35.89 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1509, allocations: 49.58 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1511, allocations: 147.6 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1512, allocations: 4 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1512, allocations: 0 / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1512, allocations: 0 / 445.9 MB, free: 9.898 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006023/0.1518, allocations: 442.8 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1518, allocations: 11.97 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.1519, allocations: 54.53 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.1524, allocations: 63.73 kB / 446.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1527, allocations: 214.9 kB / 446.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1527, allocations: 4 kB / 446.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1527, allocations: 12 kB / 446.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.1532, allocations: 246.4 kB / 446.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1532, allocations: 0 / 446.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1532, allocations: 11.95 kB / 446.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.1533, allocations: 19.77 kB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.1537, allocations: 235.6 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1548, allocations: 0.7365 MB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.155, allocations: 90.5 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1552, allocations: 56.77 kB / 448.1 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1552, allocations: 0 / 448.1 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1552, allocations: 38.55 kB / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1552, allocations: 0 / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004965/0.1557, allocations: 177.5 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1558, allocations: 55.41 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.156, allocations: 183.3 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.156, allocations: 25.7 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1561, allocations: 139.5 kB / 448.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1561, allocations: 23.66 kB / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.1562, allocations: 12 kB / 448.7 MB, free: 6.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1563, allocations: 322.8 kB / 449 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1564, allocations: 59.81 kB / 449.1 MB, free: 6.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1566, allocations: 110.8 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1568, allocations: 64.25 kB / 449.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.1568, allocations: 4 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003862/0.1572, allocations: 193.3 kB / 449.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1572, allocations: 8 kB / 449.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1572, allocations: 3.984 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1572, allocations: 4 kB / 449.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.158, allocations: 111.8 kB / 449.6 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1593, allocations: 1.813 MB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1595, allocations: 23.75 kB / 451.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.1595, allocations: 11.94 kB / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.000126/0.1597, allocations: 141.8 kB / 451.6 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1597, allocations: 7.906 kB / 451.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.1602, allocations: 187.1 kB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1602, allocations: 0 / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1602, allocations: 4 kB / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1602, allocations: 0 / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.1605, allocations: 237.4 kB / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1605, allocations: 0 / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.1611, allocations: 103.8 kB / 452.1 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1611, allocations: 4 kB / 452.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1611, allocations: 0 / 452.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009604/0.1621, allocations: 1.785 MB / 453.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1621, allocations: 3.984 kB / 453.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.1625, allocations: 247.6 kB / 454.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1625, allocations: 92.91 kB / 454.2 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1626, allocations: 4 kB / 454.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1627, allocations: 7.984 kB / 454.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1628, allocations: 8 kB / 454.2 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1628, allocations: 4 kB / 454.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1629, allocations: 144.9 kB / 454.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 454.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1633, allocations: 39.94 kB / 454.4 MB, free: 0.8555 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.000751/0.164, allocations: 0.8019 MB / 455.2 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2312/0.3952, allocations: 227.4 kB / 455.4 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3953, allocations: 0 / 455.4 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.3958, allocations: 110.5 kB / 455.5 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3963, allocations: 38.81 kB / 455.6 MB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3979, allocations: 1.043 MB / 456.6 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3982, allocations: 0.7485 MB / 457.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.3983, allocations: 33.83 kB / 457.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3984, allocations: 36.47 kB / 457.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3984, allocations: 6.562 kB / 457.5 MB, free: 45.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4314, allocations: 4.573 MB / 462 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.4317, allocations: 290.9 kB / 462.3 MB, free: 45.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.294, allocations: 3.938 kB / 462.3 MB, free: 45.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat