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.001212/0.001212, allocations: 122.2 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.001289/0.001289, 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.43 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.2225/0.2225, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002237/0.002237, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003344/0.368, allocations: 1.837 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3691, allocations: 0.634 MB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.3692, allocations: 0 / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3696, allocations: 53.05 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.3697, allocations: 77.2 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.3701, allocations: 114.5 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3705, allocations: 225.8 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.978e-05/0.3705, allocations: 34.09 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3707, allocations: 93.67 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3708, allocations: 99.31 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3709, allocations: 6.406 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.3713, allocations: 230.5 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.3714, allocations: 48.45 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3715, allocations: 99.47 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.3721, allocations: 330.1 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3721, allocations: 0 / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3721, allocations: 1.375 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3721, allocations: 3.938 kB / 0.5344 GB, free: 10.58 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.0007687/0.3729, allocations: 0.5375 MB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3729, allocations: 13.62 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.373, allocations: 65.72 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.3748, allocations: 199.8 kB / 0.5352 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3751, allocations: 272.6 kB / 0.5354 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3752, allocations: 14.19 kB / 0.5355 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.3752, allocations: 23 kB / 0.5355 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3762, allocations: 0.503 MB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3762, allocations: 0 / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3763, allocations: 10.33 kB / 0.536 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.3764, allocations: 29.39 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3777, allocations: 0.5836 MB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.3801, allocations: 1.168 MB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.3808, allocations: 168.6 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.3812, allocations: 88.75 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3812, allocations: 5.062 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3812, allocations: 43.59 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3812, allocations: 0 / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001322/0.3826, allocations: 296.2 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3826, allocations: 52.66 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3829, allocations: 278.8 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.383, allocations: 25.7 kB / 0.5386 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3831, allocations: 177.9 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.3832, allocations: 19.8 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.3833, allocations: 42 kB / 0.5389 GB, free: 7.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3834, allocations: 332.7 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.3838, allocations: 86.06 kB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.3842, allocations: 122.6 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.385, allocations: 213.7 kB / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3851, allocations: 0 / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009389/0.386, allocations: 270.9 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.386, allocations: 5.281 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.386, allocations: 1.344 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3861, allocations: 2.281 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/0.3919, allocations: 468.1 kB / 0.5403 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.395, allocations: 1.948 MB / 0.5422 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3954, allocations: 40.03 kB / 0.5422 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3954, allocations: 11.58 kB / 0.5422 GB, free: 4.41 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.0002247/0.3957, allocations: 169.4 kB / 0.5424 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.3957, allocations: 19.8 kB / 0.5424 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.3958, allocations: 26.7 kB / 0.5424 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3958, allocations: 1.75 kB / 0.5424 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3958, allocations: 0 / 0.5424 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3959, allocations: 0 / 0.5424 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.3963, allocations: 289.8 kB / 0.5427 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3963, allocations: 0 / 0.5427 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005672/0.4019, allocations: 456.5 kB / 0.5432 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.402, allocations: 1.156 kB / 0.5432 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.402, allocations: 4.828 kB / 0.5432 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.405, allocations: 1.944 MB / 0.5451 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.405, allocations: 5.078 kB / 0.5451 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.4059, allocations: 325.9 kB / 0.5454 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.406, allocations: 100.9 kB / 0.5455 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.4061, allocations: 1.375 kB / 0.5455 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.4065, allocations: 21.69 kB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.4065, allocations: 11.52 kB / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.4066, allocations: 10.17 kB / 0.5455 GB, free: 1.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.4068, allocations: 210 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4068, allocations: 1.219 kB / 0.5457 GB, free: 1.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.4072, allocations: 66.27 kB / 0.5458 GB, free: 1.367 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.001333/0.4085, allocations: 0.8628 MB / 0.5466 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.4146, allocations: 0.5929 MB / 0.5472 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4146, allocations: 288 / 0.5472 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/0.4202, allocations: 499.4 kB / 0.5477 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.4207, allocations: 57.02 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.005154/0.4258, allocations: 2.985 MB / 0.5507 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.4264, allocations: 0.783 MB / 0.5514 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.4266, allocations: 49.86 kB / 0.5515 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4268, allocations: 67.41 kB / 0.5515 GB, free: 11.63 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4268, allocations: 0 / 0.5515 GB, free: 11.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4606, allocations: 7.959 MB / 0.5593 GB, free: 3.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.49, allocations: 9.328 kB / 0.5593 GB, free: 3.887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)