Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001262/0.001263, 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.001694/0.001694, allocations: 179.8 kB / 16.57 MB, free: 6.855 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.58/1.58, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3704/0.3704, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.0005422/0.0005425, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1436, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002021/0.1457, allocations: 1.483 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.1493, allocations: 2.504 MB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.1494, allocations: 0 / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1497, allocations: 39.75 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.15, allocations: 63.83 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1516, allocations: 0.6234 MB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1518, allocations: 171.6 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.1519, allocations: 36.31 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1521, allocations: 79.62 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1522, allocations: 95.59 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1523, allocations: 8 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.154, allocations: 1.193 MB / 449.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.1541, allocations: 71.72 kB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.1542, allocations: 61.58 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.1551, allocations: 0.5186 MB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1552, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1552, allocations: 0 / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1552, allocations: 0 / 449.8 MB, free: 5.992 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009913/0.1562, allocations: 0.6355 MB / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1562, allocations: 8.031 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.809e-05/0.1563, allocations: 78.52 kB / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1564, allocations: 27.62 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1567, allocations: 238.6 kB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.1568, allocations: 20.5 kB / 450.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1568, allocations: 27.98 kB / 450.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.1576, allocations: 475.2 kB / 451.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1576, allocations: 0 / 451.3 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1576, allocations: 12 kB / 451.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.1577, allocations: 48.95 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.1586, allocations: 0.5542 MB / 451.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1606, allocations: 1.35 MB / 453.3 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.1612, allocations: 290.4 kB / 453.5 MB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1613, allocations: 8 kB / 453.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1613, allocations: 38.55 kB / 453.6 MB, free: 1.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.1613, allocations: 0 / 453.6 MB, free: 1.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007829/0.1621, allocations: 333.8 kB / 453.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1622, allocations: 59.34 kB / 454 MB, free: 1.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1623, allocations: 146 kB / 454.1 MB, free: 1.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1624, allocations: 29.7 kB / 454.2 MB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1625, allocations: 187.8 kB / 454.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.714e-05/0.1626, allocations: 91.12 kB / 454.4 MB, free: 1.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.1626, allocations: 8 kB / 454.4 MB, free: 1.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1628, allocations: 326.8 kB / 454.7 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.163, allocations: 95.78 kB / 454.8 MB, free: 0.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1633, allocations: 182.1 kB / 455 MB, free: 464 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1635, allocations: 112.8 kB / 455.1 MB, free: 352 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1635, allocations: 4 kB / 455.1 MB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006153/0.1641, allocations: 329 kB / 455.5 MB, free: 12 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1642, allocations: 8 kB / 455.5 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1642, allocations: 0 / 455.5 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1642, allocations: 4.344 kB / 455.5 MB, free: 0 / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.4221, allocations: 140.7 kB / 455.6 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/0.423, allocations: 2.362 MB / 458 MB, free: 43.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.4232, allocations: 34.94 kB / 458 MB, free: 43.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.4233, allocations: 16.03 kB / 458 MB, free: 43.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.4235, allocations: 175.4 kB / 458.2 MB, free: 43.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4235, allocations: 15.31 kB / 458.2 MB, free: 43.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.4243, allocations: 384.2 kB / 458.6 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4243, allocations: 5.172 kB / 458.6 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4243, allocations: 3.25 kB / 458.6 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4243, allocations: 3.031 kB / 458.6 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.4246, allocations: 341.3 kB / 458.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4247, allocations: 0 / 458.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.4251, allocations: 115.3 kB / 459 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4251, allocations: 3.438 kB / 459 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4252, allocations: 10.91 kB / 459.1 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006918/0.4259, allocations: 2.364 MB / 461.4 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4259, allocations: 3.531 kB / 461.4 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.4263, allocations: 376.8 kB / 461.8 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.4264, allocations: 100.9 kB / 461.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4264, allocations: 5.594 kB / 461.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4266, allocations: 10.23 kB / 461.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.4266, allocations: 21.8 kB / 461.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4267, allocations: 12.81 kB / 461.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.4267, allocations: 103.2 kB / 462 MB, free: 40.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4267, allocations: 2.297 kB / 462 MB, free: 40.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007018/0.4274, allocations: 238 kB / 462.3 MB, free: 40.7 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.4286, allocations: 1.142 MB / 463.4 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.4293, allocations: 304.9 kB / 463.7 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4294, allocations: 0.9688 kB / 463.7 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.4298, allocations: 190.1 kB / 463.9 MB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.43, allocations: 9.047 kB / 463.9 MB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4322, allocations: 3.181 MB / 467.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4324, allocations: 0.8117 MB / 467.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.4327, allocations: 96.14 kB / 468 MB, free: 36.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4329, allocations: 90.36 kB / 468.1 MB, free: 36.87 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4329, allocations: 0 / 468.1 MB, free: 36.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.4581, allocations: 8.126 MB / 476.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.4584, allocations: 259.6 kB / 476.5 MB, free: 35.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.703, allocations: 0 / 476.5 MB, free: 35.72 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat