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_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 216.8 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2009/0.2009, allocations: 46.9 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002184/0.002184, allocations: 83.84 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2583, allocations: 65.98 MB / 0.5584 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002856/0.2612, allocations: 1.808 MB / 0.5602 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2627, allocations: 1.018 MB / 0.5612 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.2627, allocations: 0 / 0.5612 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.2629, allocations: 55.73 kB / 0.5612 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.2631, allocations: 71.58 kB / 0.5613 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2634, allocations: 123.5 kB / 0.5614 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.2637, allocations: 218.8 kB / 0.5616 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.2637, allocations: 5.688 kB / 0.5616 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2638, allocations: 95.5 kB / 0.5617 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.264, allocations: 99.53 kB / 0.5618 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.264, allocations: 8 kB / 0.5618 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.2643, allocations: 215.7 kB / 0.562 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.2644, allocations: 55.69 kB / 0.5621 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.2645, allocations: 91.36 kB / 0.5622 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.2649, allocations: 312.4 kB / 0.5625 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2649, allocations: 4 kB / 0.5625 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2649, allocations: 0 / 0.5625 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2649, allocations: 0 / 0.5625 GB, free: 0.9883 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007228/0.2656, allocations: 0.5414 MB / 0.563 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2657, allocations: 12.03 kB / 0.563 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.2657, allocations: 54.73 kB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.2665, allocations: 136.6 kB / 0.5632 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2668, allocations: 260 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2668, allocations: 20.75 kB / 0.5635 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.2668, allocations: 20.12 kB / 0.5635 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.2675, allocations: 429.9 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2675, allocations: 3.938 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2675, allocations: 8 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.2676, allocations: 28.55 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.2682, allocations: 389.9 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.27, allocations: 1.485 MB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.2703, allocations: 90.52 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2704, allocations: 52.75 kB / 0.5659 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2704, allocations: 8.078 kB / 0.5659 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2705, allocations: 34.56 kB / 0.5659 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2705, allocations: 0 / 0.5659 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005506/0.271, allocations: 189.4 kB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.271, allocations: 51.41 kB / 0.5662 GB, free: 12.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.2714, allocations: 334.6 kB / 0.5665 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2714, allocations: 25.7 kB / 0.5665 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2715, allocations: 187.6 kB / 0.5667 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2716, allocations: 27.78 kB / 0.5667 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.2716, allocations: 45.66 kB / 0.5668 GB, free: 12.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2718, allocations: 330.8 kB / 0.5671 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.272, allocations: 75.88 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2722, allocations: 116.2 kB / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.2725, allocations: 193.5 kB / 0.5674 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2725, allocations: 0 / 0.5674 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004843/0.273, allocations: 245.1 kB / 0.5677 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.273, allocations: 4 kB / 0.5677 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.273, allocations: 8.188 kB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2731, allocations: 4 kB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.2745, allocations: 107.9 kB / 0.5678 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.2763, allocations: 1.848 MB / 0.5696 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.2765, allocations: 31.77 kB / 0.5696 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2765, allocations: 11.98 kB / 0.5696 GB, free: 9.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001441/0.2767, allocations: 157.9 kB / 0.5698 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.2767, allocations: 23.86 kB / 0.5698 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.2772, allocations: 199.1 kB / 0.57 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2772, allocations: 8 kB / 0.57 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2772, allocations: 0 / 0.57 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2772, allocations: 3.984 kB / 0.57 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.2775, allocations: 277.4 kB / 0.5703 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2775, allocations: 4 kB / 0.5703 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.2786, allocations: 95.86 kB / 0.5704 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2786, allocations: 0 / 0.5704 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2786, allocations: 0 / 0.5704 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2799, allocations: 1.797 MB / 0.5721 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2799, allocations: 7.969 kB / 0.5721 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.2803, allocations: 263.5 kB / 0.5724 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.2803, allocations: 96.95 kB / 0.5725 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2804, allocations: 4 kB / 0.5725 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.2806, allocations: 4 kB / 0.5725 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.2806, allocations: 11.98 kB / 0.5725 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2806, allocations: 0 / 0.5725 GB, free: 6.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.2808, allocations: 249.9 kB / 0.5727 GB, free: 5.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2808, allocations: 0 / 0.5727 GB, free: 5.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.2812, allocations: 67.89 kB / 0.5728 GB, free: 5.82 MB / 414.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 (11): * Single equations (assignments): 8 * 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.0008352/0.282, allocations: 0.8177 MB / 0.5736 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.2842, allocations: 251.7 kB / 0.5738 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2842, allocations: 0 / 0.5738 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.2851, allocations: 99.88 kB / 0.5739 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.2854, allocations: 32.88 kB / 0.574 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.2891, allocations: 2.922 MB / 0.5768 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2894, allocations: 0.7792 MB / 0.5776 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.2896, allocations: 62.17 kB / 0.5776 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2897, allocations: 71.41 kB / 0.5777 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2897, allocations: 0 / 0.5777 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.3223, allocations: 7.785 MB / 0.5853 GB, free: 8.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11, allocations: 7.562 kB / 0.5853 GB, free: 8.977 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.556006736005656]