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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001263/0.001263, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 201.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.428/1.428, 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.2313/0.2313, allocations: 46.13 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.002201/0.002201, allocations: 75.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 62.45 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003322/0.3626, allocations: 1.655 MB / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3644, allocations: 0.9109 MB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.3645, allocations: 2.094 kB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.3648, allocations: 36.08 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.3651, allocations: 54.61 kB / 0.5332 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3657, allocations: 131.8 kB / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.3659, allocations: 138.2 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.366, allocations: 22.69 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.3661, allocations: 58.48 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3663, allocations: 65.72 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3663, allocations: 6.25 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.3668, allocations: 212.4 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.3669, allocations: 39.58 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.367, allocations: 64.27 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.3676, allocations: 237.1 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3676, allocations: 5.375 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3676, allocations: 0 / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3676, allocations: 0 / 0.5342 GB, free: 10.62 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008412/0.3685, allocations: 482.9 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3685, allocations: 9.625 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.3686, allocations: 48.23 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.3698, allocations: 116.8 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.3701, allocations: 226.2 kB / 0.535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3701, allocations: 13.86 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.3702, allocations: 14 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.3709, allocations: 317.2 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.371, allocations: 1.281 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.371, allocations: 9.328 kB / 0.5353 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.3711, allocations: 19.23 kB / 0.5354 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.3719, allocations: 324.4 kB / 0.5357 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3736, allocations: 0.8277 MB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/0.3744, allocations: 225.4 kB / 0.5367 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3748, allocations: 84.34 kB / 0.5368 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3748, allocations: 6.781 kB / 0.5368 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3748, allocations: 35.84 kB / 0.5368 GB, free: 8.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.3749, allocations: 0 / 0.5368 GB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001099/0.376, allocations: 299.2 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.376, allocations: 53.62 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3763, allocations: 185.1 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3763, allocations: 34.83 kB / 0.5374 GB, free: 8.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3764, allocations: 140.6 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3765, allocations: 45.06 kB / 0.5375 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.3766, allocations: 50.73 kB / 0.5376 GB, free: 7.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3767, allocations: 326.7 kB / 0.5379 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.377, allocations: 82.84 kB / 0.538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3774, allocations: 138.2 kB / 0.5381 GB, free: 7.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.3781, allocations: 228.7 kB / 0.5383 GB, free: 7.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3781, allocations: 0 / 0.5383 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008027/0.3789, allocations: 269.5 kB / 0.5386 GB, free: 7.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3789, allocations: 6.938 kB / 0.5386 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3789, allocations: 9.125 kB / 0.5386 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.379, allocations: 3.406 kB / 0.5386 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.3794, allocations: 81.05 kB / 0.5387 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.3806, allocations: 1.785 MB / 0.5404 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3808, allocations: 25.77 kB / 0.5404 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3809, allocations: 19.47 kB / 0.5405 GB, free: 5.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001826/0.381, allocations: 150.5 kB / 0.5406 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.3811, allocations: 13.77 kB / 0.5406 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.382, allocations: 257.7 kB / 0.5409 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.382, allocations: 1.156 kB / 0.5409 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.382, allocations: 7.938 kB / 0.5409 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.382, allocations: 9.156 kB / 0.5409 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3824, allocations: 248.7 kB / 0.5411 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3824, allocations: 0 / 0.5411 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.3828, allocations: 75.45 kB / 0.5412 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3828, allocations: 1.062 kB / 0.5412 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3829, allocations: 7.391 kB / 0.5412 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.384, allocations: 1.786 MB / 0.5429 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.384, allocations: 0 / 0.5429 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.3848, allocations: 322.8 kB / 0.5432 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.3849, allocations: 85.59 kB / 0.5433 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.385, allocations: 5.156 kB / 0.5433 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3852, allocations: 7.703 kB / 0.5433 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3853, allocations: 13.28 kB / 0.5434 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3853, allocations: 16.33 kB / 0.5434 GB, free: 2.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3855, allocations: 142.3 kB / 0.5435 GB, free: 2.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3855, allocations: 5.094 kB / 0.5435 GB, free: 2.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.3859, allocations: 61.52 kB / 0.5436 GB, free: 2.355 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 (10): * Single equations (assignments): 7 * 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.001284/0.3872, allocations: 0.8732 MB / 0.5444 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.3881, allocations: 234.3 kB / 0.5446 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3881, allocations: 448 / 0.5446 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.3886, allocations: 136.3 kB / 0.5448 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3889, allocations: 7.5 kB / 0.5448 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.3929, allocations: 2.354 MB / 0.5471 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3933, allocations: 0.7361 MB / 0.5478 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.3935, allocations: 65.98 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3937, allocations: 61.41 kB / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3937, allocations: 0 / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.4231, allocations: 4.882 MB / 0.5527 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 8.781 kB / 0.5527 GB, free: 10.5 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)