Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.0007707/0.0007708, 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.0008929/0.0008929, allocations: 175.8 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.548/1.548, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.66 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.000512/0.0005124, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002752/0.1183, allocations: 1.84 MB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.1232, allocations: 3.027 MB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1235, allocations: 11.88 kB / 447.8 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1239, allocations: 75.56 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1244, allocations: 127.4 kB / 448 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.1264, allocations: 0.7556 MB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.1271, allocations: 0.5943 MB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1273, allocations: 85.66 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.1277, allocations: 222.7 kB / 449.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.128, allocations: 282.6 kB / 449.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.1281, allocations: 16 kB / 449.9 MB, free: 5.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.1315, allocations: 1.836 MB / 451.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.1319, allocations: 127.3 kB / 451.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.1322, allocations: 125.3 kB / 452 MB, free: 3.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1343, allocations: 0.9977 MB / 453 MB, free: 2.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1343, allocations: 0 / 453 MB, free: 2.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1343, allocations: 0 / 453 MB, free: 2.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.1343, allocations: 0 / 453 MB, free: 2.82 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001835/0.1362, allocations: 0.9285 MB / 453.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1362, allocations: 8.031 kB / 453.9 MB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.1365, allocations: 147.9 kB / 454.1 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1367, allocations: 75.06 kB / 454.2 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.1372, allocations: 354 kB / 454.5 MB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.1372, allocations: 57.98 kB / 454.6 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1373, allocations: 68 kB / 454.6 MB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1835/0.3208, allocations: 1.224 MB / 455.8 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3208, allocations: 0 / 455.8 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.3209, allocations: 35.45 kB / 455.9 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.321, allocations: 81.64 kB / 456 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.323, allocations: 1.726 MB / 457.7 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.3262, allocations: 2.914 MB / 460.6 MB, free: 45.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.3269, allocations: 431.5 kB / 461 MB, free: 45.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.3272, allocations: 150.1 kB / 461.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.3272, allocations: 12.73 kB / 461.2 MB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3273, allocations: 36.92 kB / 461.2 MB, free: 45.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.3273, allocations: 3.938 kB / 461.2 MB, free: 45.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008138/0.3281, allocations: 499.7 kB / 461.7 MB, free: 45.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3281, allocations: 59.53 kB / 461.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3283, allocations: 207.1 kB / 462 MB, free: 45.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3283, allocations: 28.95 kB / 462 MB, free: 45.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3284, allocations: 392.8 kB / 462.4 MB, free: 45.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3285, allocations: 109 kB / 462.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.3285, allocations: 13.16 kB / 462.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.3286, allocations: 329.8 kB / 462.8 MB, free: 44.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3288, allocations: 155.5 kB / 463 MB, free: 44.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.3291, allocations: 353.8 kB / 463.3 MB, free: 44.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3294, allocations: 203.6 kB / 463.5 MB, free: 44.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3294, allocations: 5.844 kB / 463.5 MB, free: 44.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007414/0.3302, allocations: 0.554 MB / 464.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3302, allocations: 8.688 kB / 464.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3302, allocations: 5.406 kB / 464.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3303, allocations: 15.42 kB / 464.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.3308, allocations: 208.2 kB / 464.3 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/0.3317, allocations: 2.995 MB / 467.3 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.3319, allocations: 77.83 kB / 467.4 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.332, allocations: 26.75 kB / 467.4 MB, free: 41.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.3322, allocations: 274.2 kB / 467.7 MB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.3323, allocations: 18 kB / 467.7 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3333, allocations: 0.5639 MB / 468.3 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3333, allocations: 7.109 kB / 468.3 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3333, allocations: 0 / 468.3 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3333, allocations: 5.344 kB / 468.3 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3348, allocations: 1.163 MB / 469.4 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3349, allocations: 3.219 kB / 469.4 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.3354, allocations: 175.6 kB / 469.6 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.3354, allocations: 7.078 kB / 469.6 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3354, allocations: 19.16 kB / 469.6 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007969/0.3362, allocations: 2.962 MB / 472.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3363, allocations: 10.86 kB / 472.6 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3368, allocations: 0.5087 MB / 473.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.3369, allocations: 106 kB / 473.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.3369, allocations: 6.812 kB / 473.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3371, allocations: 18.77 kB / 473.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.3371, allocations: 37.47 kB / 473.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3372, allocations: 24.75 kB / 473.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.3373, allocations: 134.1 kB / 473.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 0 / 473.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008233/0.3381, allocations: 347.3 kB / 473.8 MB, free: 37.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.3393, allocations: 1.291 MB / 475.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.3401, allocations: 486.3 kB / 475.5 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3401, allocations: 0 / 475.5 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.3406, allocations: 268.5 kB / 475.8 MB, free: 36.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.341, allocations: 28.81 kB / 475.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.3437, allocations: 2.704 MB / 478.5 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3441, allocations: 0.9853 MB / 479.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004498/0.3446, allocations: 170 kB / 479.7 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.3448, allocations: 205.6 kB / 479.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3448, allocations: 3.219 kB / 479.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3726, allocations: 12.03 MB / 491.9 MB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.3728, allocations: 269.7 kB / 492.2 MB, free: 32.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.478, allocations: 0 / 492.2 MB, free: 32.3 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat