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.Orifice.dp_suddenChange_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.001305/0.001305, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001495/0.001495, allocations: 219.2 kB / 23 MB, free: 5.609 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.412/1.412, allocations: 230.2 MB / 256.2 MB, free: 8.707 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.2254/0.2254, allocations: 46.89 MB / 359.4 MB, free: 4.93 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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.002222/0.002222, allocations: 75.88 kB / 0.4942 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3013, allocations: 65.98 MB / 0.5586 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003263/0.3045, allocations: 1.827 MB / 0.5604 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3068, allocations: 1.415 MB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.3069, allocations: 0 / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.3071, allocations: 51.73 kB / 0.5618 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.3073, allocations: 47.62 kB / 0.5619 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.3079, allocations: 243.1 kB / 0.5621 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.308, allocations: 107.4 kB / 0.5622 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.308, allocations: 9.109 kB / 0.5622 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.3082, allocations: 59.72 kB / 0.5623 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.3083, allocations: 51.7 kB / 0.5623 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3084, allocations: 4 kB / 0.5623 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/0.3091, allocations: 0.4991 MB / 0.5628 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.3091, allocations: 27.86 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.3092, allocations: 43.66 kB / 0.5629 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.3098, allocations: 360.7 kB / 0.5632 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3098, allocations: 4 kB / 0.5632 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3098, allocations: 0 / 0.5632 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3098, allocations: 0 / 0.5632 GB, free: 444 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006566/0.3104, allocations: 450.5 kB / 0.5636 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3105, allocations: 8.031 kB / 0.5637 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.3105, allocations: 46.73 kB / 0.5637 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3106, allocations: 16.89 kB / 0.5637 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3107, allocations: 180.1 kB / 0.5639 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3107, allocations: 12.38 kB / 0.5639 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3108, allocations: 15.94 kB / 0.5639 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3111, allocations: 141.5 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3111, allocations: 0 / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3111, allocations: 4 kB / 0.5641 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3111, allocations: 4 kB / 0.5641 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.3114, allocations: 135.9 kB / 0.5642 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.3123, allocations: 0.5144 MB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.3126, allocations: 90.64 kB / 0.5648 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3127, allocations: 56.77 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3127, allocations: 3.984 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3128, allocations: 34.56 kB / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.3128, allocations: 0 / 0.5649 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004882/0.3133, allocations: 161.5 kB / 0.565 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3133, allocations: 55.41 kB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.3134, allocations: 121.8 kB / 0.5652 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3134, allocations: 25.7 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.3135, allocations: 119.7 kB / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.3136, allocations: 35.69 kB / 0.5654 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.3136, allocations: 37.59 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3138, allocations: 326.8 kB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3139, allocations: 39.97 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.314, allocations: 84.2 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.3143, allocations: 129.4 kB / 0.566 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3143, allocations: 0 / 0.566 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003491/0.3147, allocations: 161.5 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3147, allocations: 8 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3147, allocations: 0 / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3147, allocations: 4 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3149, allocations: 47.91 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/0.3153, allocations: 0.5899 MB / 0.5667 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3154, allocations: 16.14 kB / 0.5668 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3154, allocations: 11.94 kB / 0.5668 GB, free: 12.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.3156, allocations: 121.8 kB / 0.5669 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3156, allocations: 7.953 kB / 0.5669 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.316, allocations: 181.9 kB / 0.5671 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.316, allocations: 4 kB / 0.5671 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.3161, allocations: 7.938 kB / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3161, allocations: 0 / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.3163, allocations: 209.6 kB / 0.5673 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3163, allocations: 0 / 0.5673 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.3165, allocations: 43.97 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3165, allocations: 0 / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3166, allocations: 3.938 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003659/0.3169, allocations: 0.5937 MB / 0.5679 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3169, allocations: 0 / 0.5679 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.3174, allocations: 295.3 kB / 0.5682 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.3175, allocations: 97.17 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3175, allocations: 4 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3177, allocations: 11.98 kB / 0.5683 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.3177, allocations: 7.984 kB / 0.5683 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3177, allocations: 8 kB / 0.5683 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.736e-05/0.3178, allocations: 87.27 kB / 0.5684 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 0.5684 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.3181, allocations: 79.69 kB / 0.5685 GB, free: 10.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.3194, allocations: 0.9075 MB / 0.5693 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.3198, allocations: 123.8 kB / 0.5695 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3198, allocations: 0 / 0.5695 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.32, allocations: 72.22 kB / 0.5695 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3203, allocations: 15.91 kB / 0.5696 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3227, allocations: 1.738 MB / 0.5712 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3231, allocations: 0.7078 MB / 0.5719 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.3231, allocations: 16.55 kB / 0.572 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.3232, allocations: 35.42 kB / 0.572 GB, free: 6.859 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3232, allocations: 192 / 0.572 GB, free: 6.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3539, allocations: 3.856 MB / 0.5758 GB, free: 3.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 3.984 kB / 0.5758 GB, free: 3.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.687093857995933] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_A1toA2', 'A_1', 'A_2', 'C_1', 'C_2', 'eta', 'rho', 'input_mdot', 'input_dp', 'M_FLOW', 'DP', 'd_hyd', 'velocity', 'Re', 'DP_plot', 'zeta_TOT', 'input_DP.y'] 11.969485166977393 11.984282907 11.671463879000001 Calling exit ...