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.001693/0.001693, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002173/0.002173, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 8 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.2719/0.2719, allocations: 46.94 MB / 361.6 MB, free: 4.176 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.002275/0.002275, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003505/0.316, allocations: 1.826 MB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3182, allocations: 1.419 MB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.3183, allocations: 0 / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3185, allocations: 47.75 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.3187, allocations: 51.56 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.3192, allocations: 259 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3194, allocations: 103.5 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.3194, allocations: 9.25 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3196, allocations: 63.64 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.3197, allocations: 47.78 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3197, allocations: 4 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.3205, allocations: 0.5146 MB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3205, allocations: 15.86 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.3206, allocations: 39.75 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.3211, allocations: 364.8 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3211, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3211, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3211, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.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.0005625/0.3217, allocations: 385.3 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3217, allocations: 8.031 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.3218, allocations: 42.75 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.3218, allocations: 12.88 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3219, allocations: 126.3 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3219, allocations: 12.38 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.322, allocations: 11.94 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.3223, allocations: 145.6 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3223, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3223, allocations: 8 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3223, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3226, allocations: 139.9 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.3235, allocations: 497.8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3237, allocations: 94.64 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3239, allocations: 44.83 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3239, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3239, allocations: 30.56 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3239, allocations: 0 / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004661/0.3244, allocations: 169.4 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3244, allocations: 51.41 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.3245, allocations: 113.8 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3245, allocations: 30.08 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.3246, allocations: 119.6 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3246, allocations: 43.62 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.3247, allocations: 33.7 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3248, allocations: 330.7 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3249, allocations: 39.97 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3251, allocations: 73.12 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.3253, allocations: 129 kB / 0.5687 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3253, allocations: 3.938 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000329/0.3257, allocations: 161.5 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3257, allocations: 6.188 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3257, allocations: 4 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3257, allocations: 0 / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3259, allocations: 51.91 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003732/0.3263, allocations: 0.59 MB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3264, allocations: 19.95 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3264, allocations: 4 kB / 0.5696 GB, free: 11.79 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 9.652e-05/0.3265, allocations: 117.8 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3265, allocations: 15.94 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.327, allocations: 174 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.327, allocations: 4 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.327, allocations: 3.938 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.327, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3272, allocations: 184.7 kB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3272, allocations: 0 / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.3274, allocations: 47.91 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3274, allocations: 7.938 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3274, allocations: 4 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003424/0.3278, allocations: 0.5899 MB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3278, allocations: 0 / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3282, allocations: 298.4 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.3283, allocations: 19.91 kB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3283, allocations: 4 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3284, allocations: 8 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.3285, allocations: 15.97 kB / 0.571 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.3285, allocations: 4 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.3285, allocations: 91.27 kB / 0.5711 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 64 / 0.5711 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3289, allocations: 83.64 kB / 0.5712 GB, free: 10.04 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.0009569/0.3298, allocations: 0.899 MB / 0.5721 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.3302, allocations: 124.1 kB / 0.5722 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3302, allocations: 288 / 0.5722 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3304, allocations: 67.89 kB / 0.5722 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3307, allocations: 12.81 kB / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3328, allocations: 1.725 MB / 0.5739 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3331, allocations: 0.7078 MB / 0.5746 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.3332, allocations: 16.48 kB / 0.5746 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.3333, allocations: 39.42 kB / 0.5747 GB, free: 6.297 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3333, allocations: 0 / 0.5747 GB, free: 6.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3625, allocations: 3.966 MB / 0.5786 GB, free: 2.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.57, allocations: 2.812 kB / 0.5786 GB, free: 2.465 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 --stepSize=0.0002 --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.448348993901163] 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.664224767126143 11.678583106 11.354364789 Calling exit ...