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.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001697/0.001698, allocations: 122.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 202 kB / 18.74 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.41 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.2251/0.2251, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002422/0.002422, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3294, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003155/0.3326, allocations: 1.825 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3338, allocations: 0.6348 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.3339, allocations: 1.531 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3342, allocations: 48.38 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3344, allocations: 73.41 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3347, allocations: 125.7 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.335, allocations: 233.8 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.754e-05/0.3351, allocations: 29.14 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3352, allocations: 86.39 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3355, allocations: 108.8 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3355, allocations: 9.656 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.3359, allocations: 222.5 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.336, allocations: 56.19 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3361, allocations: 95.11 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.3366, allocations: 334.1 kB / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3366, allocations: 0 / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3366, allocations: 1.375 kB / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3366, allocations: 0 / 0.5344 GB, free: 10.59 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009445/0.3376, allocations: 0.5375 MB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3376, allocations: 9.625 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.3377, allocations: 65.72 kB / 0.535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.3395, allocations: 208.3 kB / 0.5352 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3399, allocations: 260 kB / 0.5354 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.3399, allocations: 23.27 kB / 0.5355 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.34, allocations: 17.78 kB / 0.5355 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3411, allocations: 0.5077 MB / 0.536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3411, allocations: 3.984 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.3411, allocations: 6.312 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.3412, allocations: 24.48 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3426, allocations: 0.5885 MB / 0.5366 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.345, allocations: 1.167 MB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.3458, allocations: 161.7 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.3462, allocations: 92 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3463, allocations: 4.641 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3463, allocations: 32.06 kB / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.3463, allocations: 3.938 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001424/0.3477, allocations: 311.8 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3478, allocations: 52.94 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3482, allocations: 275.2 kB / 0.5386 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3482, allocations: 25.7 kB / 0.5386 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3484, allocations: 169.1 kB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3485, allocations: 32.23 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3486, allocations: 38.16 kB / 0.5389 GB, free: 7.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3488, allocations: 328.4 kB / 0.5392 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.3492, allocations: 94.33 kB / 0.5393 GB, free: 6.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.3497, allocations: 121.5 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.3505, allocations: 210.6 kB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3505, allocations: 0 / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001037/0.3516, allocations: 270.8 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.3516, allocations: 5.75 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3516, allocations: 1.312 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.3517, allocations: 1.094 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/0.3574, allocations: 468.7 kB / 0.5403 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.3605, allocations: 1.945 MB / 0.5422 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.361, allocations: 39.66 kB / 0.5422 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.361, allocations: 7.828 kB / 0.5422 GB, free: 4.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.3612, allocations: 160.9 kB / 0.5424 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.3613, allocations: 22.02 kB / 0.5424 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.3614, allocations: 30.45 kB / 0.5424 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3614, allocations: 0 / 0.5424 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3614, allocations: 1.5 kB / 0.5424 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3614, allocations: 0 / 0.5424 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3619, allocations: 292.9 kB / 0.5427 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3619, allocations: 0.7188 kB / 0.5427 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005599/0.3675, allocations: 460.4 kB / 0.5432 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3675, allocations: 0 / 0.5432 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.3675, allocations: 6.453 kB / 0.5432 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.3704, allocations: 1.943 MB / 0.5451 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3705, allocations: 0 / 0.5451 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.3714, allocations: 326.7 kB / 0.5454 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3715, allocations: 97.22 kB / 0.5455 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.3715, allocations: 5.125 kB / 0.5455 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.3719, allocations: 17.19 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.372, allocations: 19.44 kB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.372, allocations: 11.14 kB / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.3722, allocations: 210.1 kB / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3722, allocations: 0 / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.3726, allocations: 66.23 kB / 0.5458 GB, free: 1.375 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.374, allocations: 0.8673 MB / 0.5466 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005973/0.38, allocations: 0.5901 MB / 0.5472 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.38, allocations: 0 / 0.5472 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005555/0.3856, allocations: 0.4955 MB / 0.5477 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3861, allocations: 44.47 kB / 0.5477 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.3911, allocations: 2.99 MB / 0.5507 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.3916, allocations: 0.783 MB / 0.5514 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.3918, allocations: 50.05 kB / 0.5515 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3919, allocations: 63.41 kB / 0.5515 GB, free: 11.63 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3919, allocations: 0 / 0.5515 GB, free: 11.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.4242, allocations: 7.968 MB / 0.5593 GB, free: 3.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.5, allocations: 15.67 kB / 0.5593 GB, free: 3.871 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1)