Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 75.88 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 65.46 MB / 0.5578 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002816/0.3061, allocations: 1.689 MB / 0.5595 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3076, allocations: 0.9355 MB / 0.5604 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.3077, allocations: 0 / 0.5604 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.3079, allocations: 35.78 kB / 0.5604 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.308, allocations: 47.73 kB / 0.5604 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.3084, allocations: 139.5 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3086, allocations: 135.3 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.3087, allocations: 5.641 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.3088, allocations: 63.7 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3089, allocations: 71.67 kB / 0.5608 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3089, allocations: 4 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.3093, allocations: 215.7 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.3093, allocations: 43.75 kB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.3094, allocations: 63.61 kB / 0.5612 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.3097, allocations: 241.1 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3097, allocations: 4 kB / 0.5614 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3097, allocations: 0 / 0.5614 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3098, allocations: 0 / 0.5614 GB, free: 4.117 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.0006393/0.3104, allocations: 397.4 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3104, allocations: 12.03 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.633e-05/0.3105, allocations: 4.188 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.3105, allocations: 54.73 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.3116, allocations: 116.6 kB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3119, allocations: 174.2 kB / 0.5621 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3119, allocations: 8.375 kB / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.3119, allocations: 20.31 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3126, allocations: 321.2 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3126, allocations: 4 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3127, allocations: 4 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.3127, allocations: 19.98 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.3135, allocations: 315.7 kB / 0.5628 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.315, allocations: 0.8105 MB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.3157, allocations: 214.3 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.316, allocations: 80.81 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3161, allocations: 3.984 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3161, allocations: 38.56 kB / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3161, allocations: 0 / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001059/0.3171, allocations: 293.3 kB / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3172, allocations: 59.39 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3174, allocations: 183.3 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3174, allocations: 25.7 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3175, allocations: 143.7 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.3176, allocations: 35.67 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3177, allocations: 61.62 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3178, allocations: 323.2 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.3181, allocations: 83.84 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3185, allocations: 134.8 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.3191, allocations: 226.5 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3191, allocations: 4 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007512/0.3198, allocations: 269.2 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3199, allocations: 7.938 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3199, allocations: 4 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3199, allocations: 4.219 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3204, allocations: 83.86 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.3216, allocations: 1.785 MB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3218, allocations: 23.83 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3218, allocations: 15.98 kB / 0.5675 GB, free: 13.48 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.0001637/0.322, allocations: 142.3 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.322, allocations: 15.89 kB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.3229, allocations: 262.8 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3229, allocations: 3.984 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3229, allocations: 4 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3229, allocations: 0 / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.3232, allocations: 236.6 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3232, allocations: 11.88 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.3236, allocations: 71.92 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3236, allocations: 0 / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.3236, allocations: 11.98 kB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.3247, allocations: 1.782 MB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3247, allocations: 0 / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.3254, allocations: 315.2 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.3255, allocations: 11.91 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.3255, allocations: 4.094 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3257, allocations: 7.984 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.3258, allocations: 19.97 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3258, allocations: 11.97 kB / 0.5703 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3259, allocations: 137.8 kB / 0.5705 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3259, allocations: 0 / 0.5705 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.3263, allocations: 63.83 kB / 0.5705 GB, free: 10.24 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.001287/0.3276, allocations: 0.8761 MB / 0.5714 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.3284, allocations: 239.8 kB / 0.5716 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3284, allocations: 0 / 0.5716 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.3289, allocations: 123.9 kB / 0.5717 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3292, allocations: 14.06 kB / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.3329, allocations: 2.349 MB / 0.574 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.3333, allocations: 0.7397 MB / 0.5748 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.3335, allocations: 65.41 kB / 0.5748 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3336, allocations: 55.39 kB / 0.5749 GB, free: 5.613 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3336, allocations: 4 kB / 0.5749 GB, free: 5.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.3596, allocations: 5.013 MB / 0.5798 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.16, allocations: 8.766 kB / 0.5798 GB, free: 0.7695 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.198205975000747] 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'] 13.328099438978825 13.34984171 13.035865222 Calling exit ...