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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001404/0.001404, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.409/1.409, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.315/0.315, allocations: 46.91 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 179] 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"}) [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.003068/0.003068, allocations: 75.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3105, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003062/0.3136, allocations: 1.668 MB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3152, allocations: 0.9433 MB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.3153, allocations: 3.938 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3155, allocations: 31.83 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3157, allocations: 51.75 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3161, allocations: 135 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.3163, allocations: 151.3 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.3164, allocations: 5.641 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.3165, allocations: 55.7 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3166, allocations: 75.67 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3166, allocations: 8 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.317, allocations: 211.6 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.317, allocations: 39.84 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.3171, allocations: 55.61 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3175, allocations: 245.1 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3175, allocations: 4 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3175, allocations: 0 / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3175, allocations: 0 / 0.5651 GB, free: 0.6484 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.0006606/0.3182, allocations: 405.4 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3182, allocations: 12.03 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.3183, allocations: 50.67 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.3193, allocations: 116.6 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3196, allocations: 174.2 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3196, allocations: 12.38 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3197, allocations: 12.36 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.3203, allocations: 313.5 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3204, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3204, allocations: 7.984 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.3204, allocations: 23.98 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.3212, allocations: 319.6 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3227, allocations: 0.8028 MB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.3234, allocations: 210.3 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.3237, allocations: 88.73 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3238, allocations: 8 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3238, allocations: 34.59 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3238, allocations: 0 / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001025/0.3248, allocations: 297.2 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3249, allocations: 55.41 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3251, allocations: 179.3 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3251, allocations: 29.7 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.3252, allocations: 143.7 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.3252, allocations: 43.66 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.3253, allocations: 53.62 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3255, allocations: 326.8 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.3258, allocations: 83.91 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.3261, allocations: 144.9 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.3267, allocations: 218.6 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3267, allocations: 0 / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000738/0.3274, allocations: 269.3 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3275, allocations: 8.469 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3275, allocations: 3.938 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3275, allocations: 4 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.3279, allocations: 79.86 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.329, allocations: 1.786 MB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3292, allocations: 31.8 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3293, allocations: 11.98 kB / 0.5712 GB, free: 10.02 MB / 414.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.0001473/0.3294, allocations: 145.9 kB / 0.5714 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.3295, allocations: 15.89 kB / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.3303, allocations: 266.7 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3303, allocations: 0 / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3303, allocations: 4 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3303, allocations: 3.938 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.3306, allocations: 224.5 kB / 0.5719 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3306, allocations: 0 / 0.5719 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.331, allocations: 71.86 kB / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.331, allocations: 0 / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.331, allocations: 11.98 kB / 0.572 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.3321, allocations: 1.789 MB / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3321, allocations: 4.031 kB / 0.5737 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.3328, allocations: 315.5 kB / 0.574 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3328, allocations: 19.88 kB / 0.574 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3329, allocations: 4 kB / 0.574 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3331, allocations: 11.98 kB / 0.574 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.3331, allocations: 11.97 kB / 0.574 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3332, allocations: 11.98 kB / 0.5741 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.3333, allocations: 133.6 kB / 0.5742 GB, free: 6.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 4.188 kB / 0.5742 GB, free: 6.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.3337, allocations: 63.83 kB / 0.5743 GB, free: 6.781 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 (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.001147/0.3348, allocations: 0.8761 MB / 0.5751 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008102/0.3356, allocations: 231.6 kB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3357, allocations: 0 / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3361, allocations: 136.2 kB / 0.5755 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3364, allocations: 12.88 kB / 0.5755 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.34, allocations: 2.338 MB / 0.5778 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3404, allocations: 0.744 MB / 0.5785 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.3406, allocations: 64.98 kB / 0.5785 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3407, allocations: 55.39 kB / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3407, allocations: 0 / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3701, allocations: 4.955 MB / 0.5834 GB, free: 13.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.73, allocations: 0.7031 kB / 0.5834 GB, free: 13.33 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.618714573793113] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 11.829187112860382 11.853616645 11.531530366 Calling exit ...