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.001387/0.001387, 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.001501/0.001501, 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.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.45 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.2296/0.2296, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.003247/0.003247, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3655, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003081/0.3687, allocations: 1.651 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3703, allocations: 0.9203 MB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.3704, allocations: 1.281 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3706, allocations: 32.48 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.3708, allocations: 45.44 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.3712, allocations: 136.3 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.3714, allocations: 141.7 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.3715, allocations: 23.47 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.3716, allocations: 58.22 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3718, allocations: 65.92 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3718, allocations: 9.688 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.3722, allocations: 205.7 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.3723, allocations: 46.23 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.3723, allocations: 52.25 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.3727, allocations: 249.5 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3727, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3728, allocations: 5.312 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3728, allocations: 0 / 0.5342 GB, free: 10.73 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.0007468/0.3735, allocations: 473.6 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3736, allocations: 9.625 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3736, allocations: 53.61 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3747, allocations: 112.8 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.375, allocations: 230.2 kB / 0.535 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.375, allocations: 17.86 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.375, allocations: 12.62 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.3757, allocations: 318.2 kB / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3757, allocations: 1.688 kB / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3757, allocations: 4 kB / 0.5353 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.3758, allocations: 20.2 kB / 0.5354 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.3766, allocations: 319.9 kB / 0.5357 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3781, allocations: 0.8353 MB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.3788, allocations: 218.7 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3791, allocations: 88.72 kB / 0.5368 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3792, allocations: 5.344 kB / 0.5368 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3792, allocations: 31.88 kB / 0.5368 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.3792, allocations: 96 / 0.5368 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.00104/0.3802, allocations: 303.7 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3803, allocations: 56.5 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3805, allocations: 194.3 kB / 0.5373 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3805, allocations: 26.83 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3807, allocations: 144.2 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3807, allocations: 37.05 kB / 0.5375 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.3808, allocations: 54.72 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.381, allocations: 323.4 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.3813, allocations: 85.7 kB / 0.538 GB, free: 7.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3817, allocations: 142 kB / 0.5381 GB, free: 7.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.3823, allocations: 219.5 kB / 0.5383 GB, free: 7.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3823, allocations: 0 / 0.5383 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007618/0.3831, allocations: 270.1 kB / 0.5386 GB, free: 7.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3831, allocations: 5.844 kB / 0.5386 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3831, allocations: 6.156 kB / 0.5386 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3831, allocations: 2.312 kB / 0.5386 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.3836, allocations: 86.67 kB / 0.5387 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3848, allocations: 1.785 MB / 0.5404 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.385, allocations: 28.67 kB / 0.5404 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.385, allocations: 11.83 kB / 0.5405 GB, free: 5.359 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.0002349/0.3853, allocations: 153 kB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.3853, allocations: 15.02 kB / 0.5406 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/0.3863, allocations: 272.7 kB / 0.5409 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3863, allocations: 4.969 kB / 0.5409 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3863, allocations: 0 / 0.5409 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3863, allocations: 1.719 kB / 0.5409 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3866, allocations: 252 kB / 0.5411 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3866, allocations: 0 / 0.5411 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.387, allocations: 67.72 kB / 0.5412 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.387, allocations: 4.969 kB / 0.5412 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.387, allocations: 15.38 kB / 0.5412 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3882, allocations: 1.783 MB / 0.543 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3882, allocations: 0 / 0.543 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.3889, allocations: 322.4 kB / 0.5433 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.389, allocations: 85.59 kB / 0.5433 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.3891, allocations: 5.219 kB / 0.5433 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3893, allocations: 12.14 kB / 0.5434 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3893, allocations: 12.84 kB / 0.5434 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.3894, allocations: 8.484 kB / 0.5434 GB, free: 2.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3895, allocations: 138.1 kB / 0.5435 GB, free: 2.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3895, allocations: 5.562 kB / 0.5435 GB, free: 2.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000378/0.3899, allocations: 60.83 kB / 0.5436 GB, free: 2.473 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.001174/0.3911, allocations: 0.8824 MB / 0.5444 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.3919, allocations: 233.5 kB / 0.5447 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3919, allocations: 448 / 0.5447 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.3924, allocations: 135.7 kB / 0.5448 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.3927, allocations: 11.38 kB / 0.5448 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.3966, allocations: 2.344 MB / 0.5471 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.397, allocations: 0.7444 MB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3972, allocations: 69 kB / 0.5479 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3973, allocations: 54.42 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3974, allocations: 0 / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4263, allocations: 4.882 MB / 0.5527 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 1.625 kB / 0.5527 GB, free: 10.62 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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)