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.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001831/0.001831, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247 MB, free: 10.4 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.2166/0.2166, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002179/0.002179, allocations: 80.2 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003138/0.3273, allocations: 1.806 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3286, allocations: 0.8275 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.3287, allocations: 5.312 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.3289, allocations: 37.39 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.3292, allocations: 79.81 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.3294, allocations: 68.42 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3296, allocations: 126.2 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.3297, allocations: 21.97 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3299, allocations: 73.52 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.33, allocations: 76.77 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.33, allocations: 7.25 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3302, allocations: 66.83 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.3303, allocations: 30.91 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3304, allocations: 40.98 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3306, allocations: 144.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3306, allocations: 1.656 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3306, allocations: 4 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3306, allocations: 0 / 0.5339 GB, free: 10.85 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000595/0.3312, allocations: 411.7 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3313, allocations: 10.19 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.3314, allocations: 46.12 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.3317, allocations: 38.06 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3319, allocations: 183.5 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3319, allocations: 8.406 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3319, allocations: 15.5 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.3323, allocations: 178.8 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3323, allocations: 1.375 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3324, allocations: 9.359 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.3324, allocations: 10.86 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3327, allocations: 135.3 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.3336, allocations: 0.642 MB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.3339, allocations: 108.3 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3341, allocations: 47.41 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3341, allocations: 1.156 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3341, allocations: 43.72 kB / 0.5358 GB, free: 9.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3341, allocations: 0 / 0.5358 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004483/0.3346, allocations: 132.5 kB / 0.5359 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.3346, allocations: 52.5 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3348, allocations: 130.3 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3348, allocations: 29.7 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.3349, allocations: 125.7 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3349, allocations: 28.55 kB / 0.5362 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.335, allocations: 31.3 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3351, allocations: 325.8 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3352, allocations: 36.06 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3354, allocations: 94.78 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3357, allocations: 141.9 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.3357, allocations: 1.062 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003294/0.3361, allocations: 160.6 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3361, allocations: 9.062 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3361, allocations: 2.156 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3361, allocations: 6.484 kB / 0.537 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3363, allocations: 38.95 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3363, allocations: 2.25 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3364, allocations: 23.84 kB / 0.5371 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3364, allocations: 8.844 kB / 0.5371 GB, free: 8.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3365, allocations: 135.4 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.3366, allocations: 7.328 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.3369, allocations: 128 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3369, allocations: 1.219 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3369, allocations: 0 / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3369, allocations: 0 / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.3372, allocations: 198 kB / 0.5375 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3372, allocations: 0 / 0.5375 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3373, allocations: 29.31 kB / 0.5376 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3373, allocations: 0 / 0.5376 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3373, allocations: 5.062 kB / 0.5376 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3374, allocations: 1.156 kB / 0.5376 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3374, allocations: 0 / 0.5376 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.3377, allocations: 225.8 kB / 0.5378 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3378, allocations: 83.16 kB / 0.5379 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3378, allocations: 5.172 kB / 0.5379 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.3379, allocations: 11.83 kB / 0.5379 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3379, allocations: 6.344 kB / 0.5379 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3379, allocations: 1.281 kB / 0.5379 GB, free: 7.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.338, allocations: 93.77 kB / 0.538 GB, free: 7.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.338, allocations: 4 kB / 0.538 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3383, allocations: 31.23 kB / 0.538 GB, free: 7.184 MB / 398.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006802/0.339, allocations: 0.7431 MB / 0.5387 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3393, allocations: 98.42 kB / 0.5388 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3393, allocations: 0 / 0.5388 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3395, allocations: 46.05 kB / 0.5389 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3397, allocations: 11.17 kB / 0.5389 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.3417, allocations: 1.674 MB / 0.5405 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3421, allocations: 0.7128 MB / 0.5412 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.3422, allocations: 26.72 kB / 0.5412 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3423, allocations: 29.02 kB / 0.5413 GB, free: 4.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3423, allocations: 0 / 0.5413 GB, free: 4.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3658, allocations: 2.322 MB / 0.5435 GB, free: 2.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.188, allocations: 7.703 kB / 0.5435 GB, free: 2.977 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)