Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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 trunk/package.mo): time 0.001846/0.001846, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.221/0.221, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003713/0.3466, allocations: 2.202 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.3515, allocations: 3.33 MB / 0.536 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3517, allocations: 1.031 kB / 0.536 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.3522, allocations: 100.6 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.3526, allocations: 140 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3545, allocations: 0.8873 MB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.3551, allocations: 0.565 MB / 0.5377 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3553, allocations: 79.36 kB / 0.5378 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.3556, allocations: 247.5 kB / 0.538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.3559, allocations: 277.9 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.356, allocations: 18.97 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.3588, allocations: 1.983 MB / 0.5402 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.359, allocations: 139.1 kB / 0.5404 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.3593, allocations: 280.2 kB / 0.5406 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.3617, allocations: 1.7 MB / 0.5423 GB, free: 4.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3617, allocations: 1.281 kB / 0.5423 GB, free: 4.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3617, allocations: 0 / 0.5423 GB, free: 4.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3617, allocations: 3.938 kB / 0.5423 GB, free: 4.973 MB / 398.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.001882/0.3636, allocations: 1.068 MB / 0.5433 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3637, allocations: 9.844 kB / 0.5433 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.3639, allocations: 147.8 kB / 0.5435 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.364, allocations: 78 kB / 0.5436 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3646, allocations: 359 kB / 0.5439 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.3647, allocations: 59.86 kB / 0.544 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3648, allocations: 68.84 kB / 0.544 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.3666, allocations: 1.227 MB / 0.5452 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3667, allocations: 0 / 0.5452 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.3667, allocations: 31.98 kB / 0.5452 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.926e-05/0.3669, allocations: 77.95 kB / 0.5453 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.3695, allocations: 1.726 MB / 0.547 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.3739, allocations: 2.932 MB / 0.5499 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.3748, allocations: 424.6 kB / 0.5503 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.3751, allocations: 145.3 kB / 0.5504 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.3752, allocations: 8.266 kB / 0.5504 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3752, allocations: 42.84 kB / 0.5505 GB, free: 13.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.3753, allocations: 0 / 0.5505 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001016/0.3763, allocations: 487.3 kB / 0.5509 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3763, allocations: 59.34 kB / 0.551 GB, free: 12.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3766, allocations: 206.5 kB / 0.5512 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3766, allocations: 29.7 kB / 0.5512 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3769, allocations: 407.5 kB / 0.5516 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.377, allocations: 123 kB / 0.5517 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3772, allocations: 130.1 kB / 0.5518 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3774, allocations: 334.8 kB / 0.5522 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.3777, allocations: 145 kB / 0.5523 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.3782, allocations: 346.3 kB / 0.5526 GB, free: 10.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.379, allocations: 0.5249 MB / 0.5531 GB, free: 10.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.379, allocations: 4 kB / 0.5531 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009769/0.38, allocations: 0.5516 MB / 0.5537 GB, free: 9.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.38, allocations: 8 kB / 0.5537 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.38, allocations: 4 kB / 0.5537 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.3801, allocations: 15.94 kB / 0.5537 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.3808, allocations: 208.3 kB / 0.5539 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.3828, allocations: 2.997 MB / 0.5568 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3831, allocations: 55.66 kB / 0.5569 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3831, allocations: 28 kB / 0.5569 GB, free: 6.16 MB / 414.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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.3836, allocations: 281.6 kB / 0.5572 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.3837, allocations: 23.86 kB / 0.5572 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3848, allocations: 0.5542 MB / 0.5577 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3848, allocations: 4 kB / 0.5577 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3849, allocations: 0 / 0.5577 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.3849, allocations: 3.984 kB / 0.5578 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.3867, allocations: 1.166 MB / 0.5589 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3867, allocations: 4 kB / 0.5589 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.3874, allocations: 180 kB / 0.5591 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.3874, allocations: 8 kB / 0.5591 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3874, allocations: 12 kB / 0.5591 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3891, allocations: 2.965 MB / 0.562 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3891, allocations: 4.031 kB / 0.562 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.3898, allocations: 0.498 MB / 0.5625 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.3899, allocations: 104.8 kB / 0.5626 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.39, allocations: 15.92 kB / 0.5626 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3902, allocations: 12 kB / 0.5626 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.3903, allocations: 39.89 kB / 0.5626 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.3903, allocations: 16 kB / 0.5627 GB, free: 20 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3904, allocations: 139.5 kB / 0.5628 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3904, allocations: 0 / 0.5628 GB, free: 15.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3915, allocations: 362.3 kB / 0.5631 GB, free: 15.53 MB / 430.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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.3932, allocations: 1.315 MB / 0.5644 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3943, allocations: 485 kB / 0.5649 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3943, allocations: 0 / 0.5649 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.3949, allocations: 260.5 kB / 0.5651 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3953, allocations: 28.55 kB / 0.5652 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.4005, allocations: 3.977 MB / 0.569 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.4012, allocations: 0.9868 MB / 0.57 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.4017, allocations: 170.6 kB / 0.5702 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.402, allocations: 215.3 kB / 0.5704 GB, free: 7.73 MB / 430.1 MB Notification: Performance of SimCode: time 5.92e-07/0.402, allocations: 0 / 0.5704 GB, free: 7.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.4402, allocations: 12.72 MB / 0.5828 GB, free: 11.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.23, allocations: 22.22 kB / 0.5828 GB, free: 11.23 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1)