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_nominalPressureLossLawDensity_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.001217/0.001217, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001275/0.001275, allocations: 222.1 kB / 22.92 MB, free: 5.559 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.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.605 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.1969/0.1969, allocations: 46.89 MB / 359.3 MB, free: 4.957 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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.002136/0.002136, allocations: 80.08 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2616, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002912/0.2645, allocations: 1.951 MB / 0.5603 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2661, allocations: 1.146 MB / 0.5615 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.2662, allocations: 4 kB / 0.5615 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.2665, allocations: 73.41 kB / 0.5615 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.2667, allocations: 75.52 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.267, allocations: 162.9 kB / 0.5618 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.2673, allocations: 262.4 kB / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.2674, allocations: 12.75 kB / 0.562 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2676, allocations: 103.4 kB / 0.5621 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2677, allocations: 123.3 kB / 0.5622 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.2678, allocations: 8 kB / 0.5622 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.2683, allocations: 327.5 kB / 0.5626 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.2683, allocations: 51.7 kB / 0.5626 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2685, allocations: 115.2 kB / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.269, allocations: 438.1 kB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.269, allocations: 0 / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.269, allocations: 0 / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.269, allocations: 0 / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007349/0.2697, allocations: 0.5809 MB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2698, allocations: 8.031 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.2699, allocations: 74.72 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.2699, allocations: 36.7 kB / 0.5638 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2702, allocations: 232 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.2702, allocations: 32.92 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.2702, allocations: 32 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2709, allocations: 497.4 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2709, allocations: 4 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2709, allocations: 8 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.271, allocations: 32.98 kB / 0.5646 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.2716, allocations: 431.6 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.273, allocations: 1.193 MB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.2732, allocations: 70.53 kB / 0.5663 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2733, allocations: 40.83 kB / 0.5663 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2733, allocations: 4 kB / 0.5663 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2733, allocations: 30.56 kB / 0.5663 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2733, allocations: 0 / 0.5663 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004514/0.2738, allocations: 165.6 kB / 0.5665 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2738, allocations: 55.34 kB / 0.5665 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.274, allocations: 169.7 kB / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.274, allocations: 25.7 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.2741, allocations: 223.9 kB / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.2742, allocations: 31.73 kB / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.2742, allocations: 57.7 kB / 0.567 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2744, allocations: 318.8 kB / 0.5673 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2745, allocations: 51.95 kB / 0.5674 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2747, allocations: 184.2 kB / 0.5676 GB, free: 11.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.2751, allocations: 240 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2751, allocations: 4 kB / 0.5678 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004526/0.2755, allocations: 249.6 kB / 0.568 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2755, allocations: 10.19 kB / 0.568 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2756, allocations: 4 kB / 0.568 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2756, allocations: 8 kB / 0.568 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.2759, allocations: 87.89 kB / 0.5681 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.277, allocations: 1.782 MB / 0.5699 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2771, allocations: 31.78 kB / 0.5699 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2771, allocations: 12 kB / 0.5699 GB, free: 8.961 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.000231/0.2774, allocations: 177.9 kB / 0.5701 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.2774, allocations: 19.89 kB / 0.5701 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.2779, allocations: 194 kB / 0.5703 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2779, allocations: 4 kB / 0.5703 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2779, allocations: 3.938 kB / 0.5703 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2779, allocations: 3.984 kB / 0.5703 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.2782, allocations: 289.5 kB / 0.5706 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2782, allocations: 0 / 0.5706 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.2784, allocations: 63.97 kB / 0.5706 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2784, allocations: 3.938 kB / 0.5706 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2784, allocations: 11.94 kB / 0.5706 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.2794, allocations: 1.774 MB / 0.5724 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2794, allocations: 0 / 0.5724 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2798, allocations: 215.4 kB / 0.5726 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.2798, allocations: 92.98 kB / 0.5727 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2798, allocations: 4 kB / 0.5727 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.2799, allocations: 4 kB / 0.5727 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.28, allocations: 16.08 kB / 0.5727 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.28, allocations: 8 kB / 0.5727 GB, free: 5.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.2801, allocations: 112.5 kB / 0.5728 GB, free: 5.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2801, allocations: 0 / 0.5728 GB, free: 5.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.2804, allocations: 103.6 kB / 0.5729 GB, free: 5.719 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 (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.0007868/0.2812, allocations: 0.7942 MB / 0.5737 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.2818, allocations: 179.7 kB / 0.5739 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2818, allocations: 0 / 0.5739 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.2821, allocations: 89.02 kB / 0.5739 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2823, allocations: 12 kB / 0.574 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.2848, allocations: 2.213 MB / 0.5761 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.2852, allocations: 0.8021 MB / 0.5769 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.2853, allocations: 61.19 kB / 0.577 GB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.2854, allocations: 79.41 kB / 0.577 GB, free: 1.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2854, allocations: 0 / 0.577 GB, free: 1.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3128, allocations: 5.266 MB / 0.5822 GB, free: 12.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.51, allocations: 7.375 kB / 0.5822 GB, free: 12.11 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.056216551995021]