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.0008127/0.0008127, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008877/0.0008877, allocations: 173.7 kB / 16.58 MB, free: 6.84 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.385/1.385, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.374/0.374, allocations: 43.55 MB / 314.6 MB, free: 8.781 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.0005572/0.0005575, allocations: 19.94 kB / 384.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 58.86 MB / 442.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002203/0.1459, allocations: 1.498 MB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.1496, allocations: 2.652 MB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1497, allocations: 3.938 kB / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.15, allocations: 31.83 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1503, allocations: 75.64 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1517, allocations: 0.6308 MB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.152, allocations: 266.7 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.1521, allocations: 40.31 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1523, allocations: 91.52 kB / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1525, allocations: 119.5 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1525, allocations: 4 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.1541, allocations: 1.138 MB / 449.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.1542, allocations: 71.67 kB / 449.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1543, allocations: 61.58 kB / 449.6 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.155, allocations: 0.5457 MB / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.155, allocations: 0 / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1551, allocations: 0 / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1551, allocations: 0 / 450.1 MB, free: 5.668 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.0008536/0.1559, allocations: 0.6238 MB / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.156, allocations: 8.031 kB / 450.8 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.1561, allocations: 78.53 kB / 450.8 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.1561, allocations: 27.62 kB / 450.9 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1564, allocations: 234.7 kB / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.1564, allocations: 24.55 kB / 451.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1565, allocations: 24 kB / 451.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.1572, allocations: 471.2 kB / 451.6 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1572, allocations: 4 kB / 451.6 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1572, allocations: 15.98 kB / 451.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.1573, allocations: 52.97 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.1581, allocations: 0.5543 MB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1598, allocations: 1.323 MB / 453.6 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.1603, allocations: 274.5 kB / 453.8 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1605, allocations: 104.8 kB / 453.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.1606, allocations: 7.984 kB / 453.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1606, allocations: 38.5 kB / 454 MB, free: 1.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1606, allocations: 0 / 454 MB, free: 1.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.001117/0.1617, allocations: 341.3 kB / 454.3 MB, free: 1.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1618, allocations: 55.41 kB / 454.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.162, allocations: 138 kB / 454.5 MB, free: 1.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.1621, allocations: 37.64 kB / 454.5 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1622, allocations: 192.1 kB / 454.7 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.1623, allocations: 86.75 kB / 454.8 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1624, allocations: 12 kB / 454.8 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1626, allocations: 326.8 kB / 455.1 MB, free: 384 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1629, allocations: 91.78 kB / 455.2 MB, free: 292 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1633, allocations: 178.2 kB / 455.4 MB, free: 76 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2686/0.4319, allocations: 117.3 kB / 455.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.432, allocations: 0 / 455.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006885/0.4327, allocations: 337.9 kB / 455.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4327, allocations: 6.25 kB / 455.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4327, allocations: 3.156 kB / 455.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4328, allocations: 9.625 kB / 455.9 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.4332, allocations: 120.5 kB / 456 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007994/0.434, allocations: 2.356 MB / 458.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.4342, allocations: 47.53 kB / 458.4 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.4343, allocations: 16.41 kB / 458.4 MB, free: 43.84 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.0001889/0.4344, allocations: 172.6 kB / 458.6 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.4345, allocations: 15.75 kB / 458.6 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.4352, allocations: 381.7 kB / 458.9 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4353, allocations: 3.25 kB / 459 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4353, allocations: 0 / 459 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4353, allocations: 0 / 459 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.4356, allocations: 343.3 kB / 459.3 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4356, allocations: 0 / 459.3 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.436, allocations: 110.7 kB / 459.4 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.436, allocations: 2.75 kB / 459.4 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.4361, allocations: 8.781 kB / 459.4 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007232/0.4368, allocations: 2.363 MB / 461.8 MB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4368, allocations: 0 / 461.8 MB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.4373, allocations: 382 kB / 462.1 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.4373, allocations: 99.17 kB / 462.2 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.4374, allocations: 5.688 kB / 462.2 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4375, allocations: 15.22 kB / 462.3 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.4376, allocations: 18.42 kB / 462.3 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4376, allocations: 16.34 kB / 462.3 MB, free: 40.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.4377, allocations: 101.9 kB / 462.4 MB, free: 40.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4377, allocations: 3.844 kB / 462.4 MB, free: 40.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000719/0.4384, allocations: 239.5 kB / 462.6 MB, free: 40.82 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.001081/0.4395, allocations: 1.147 MB / 463.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.4402, allocations: 307.8 kB / 464.1 MB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4402, allocations: 0 / 464.1 MB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.4406, allocations: 183.5 kB / 464.3 MB, free: 40.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4409, allocations: 14.36 kB / 464.3 MB, free: 40.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4429, allocations: 1.533 MB / 465.8 MB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.4432, allocations: 0.8013 MB / 466.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.4435, allocations: 99.73 kB / 466.7 MB, free: 38.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.4436, allocations: 87.33 kB / 466.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4436, allocations: 0 / 466.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.4643, allocations: 8.226 MB / 475 MB, free: 37.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.4645, allocations: 270 kB / 475.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.517, allocations: 0 / 475.3 MB, free: 37.45 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