Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00188/0.00188, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002671/0.002671, allocations: 220.4 kB / 23 MB, free: 5.582 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.429/1.429, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.91 MB / 359.4 MB, free: 4.84 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 79.86 kB / 0.4942 GB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3216, allocations: 66 MB / 0.5586 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003338/0.325, allocations: 1.83 MB / 0.5604 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3275, allocations: 1.419 MB / 0.5618 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.3276, allocations: 0 / 0.5618 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.3278, allocations: 43.75 kB / 0.5619 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.328, allocations: 55.56 kB / 0.5619 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.3287, allocations: 247 kB / 0.5621 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3288, allocations: 103.5 kB / 0.5622 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3289, allocations: 13.05 kB / 0.5623 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3291, allocations: 59.72 kB / 0.5623 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.3292, allocations: 51.75 kB / 0.5624 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3292, allocations: 8 kB / 0.5624 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.33, allocations: 0.499 MB / 0.5629 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.33, allocations: 19.91 kB / 0.5629 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.33, allocations: 43.67 kB / 0.5629 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.3306, allocations: 360.7 kB / 0.5633 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3306, allocations: 4 kB / 0.5633 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3306, allocations: 3.938 kB / 0.5633 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3307, allocations: 0 / 0.5633 GB, free: 344 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.0006469/0.3313, allocations: 454.5 kB / 0.5637 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3313, allocations: 8.031 kB / 0.5637 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3314, allocations: 46.73 kB / 0.5638 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.3314, allocations: 12.89 kB / 0.5638 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3316, allocations: 180.1 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3316, allocations: 12.38 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.3317, allocations: 15.94 kB / 0.564 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.332, allocations: 137.6 kB / 0.5641 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.332, allocations: 7.984 kB / 0.5641 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.332, allocations: 4 kB / 0.5641 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.332, allocations: 7.938 kB / 0.5641 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3323, allocations: 131.9 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.3332, allocations: 0.5183 MB / 0.5647 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3335, allocations: 94.59 kB / 0.5648 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3336, allocations: 48.83 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3337, allocations: 0 / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3337, allocations: 34.56 kB / 0.5649 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3337, allocations: 4 kB / 0.5649 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000501/0.3342, allocations: 161.4 kB / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3342, allocations: 55.41 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.3343, allocations: 117.8 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3343, allocations: 25.7 kB / 0.5653 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.3344, allocations: 115.7 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3345, allocations: 39.69 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.3345, allocations: 37.66 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3347, allocations: 326.8 kB / 0.5658 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3349, allocations: 35.97 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.335, allocations: 81.11 kB / 0.5659 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3353, allocations: 128.9 kB / 0.566 GB, free: 13.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3353, allocations: 0 / 0.566 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003581/0.3357, allocations: 161.5 kB / 0.5661 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3357, allocations: 8 kB / 0.5662 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3357, allocations: 0 / 0.5662 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3357, allocations: 4 kB / 0.5662 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3359, allocations: 43.97 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/0.3363, allocations: 0.5978 MB / 0.5668 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3364, allocations: 11.98 kB / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3364, allocations: 8 kB / 0.5668 GB, free: 12.4 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.0001046/0.3365, allocations: 121.8 kB / 0.5669 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3366, allocations: 7.953 kB / 0.5669 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.337, allocations: 174.3 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.337, allocations: 4 kB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.337, allocations: 3.938 kB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.337, allocations: 3.984 kB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.3373, allocations: 213.6 kB / 0.5673 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3373, allocations: 0 / 0.5673 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3375, allocations: 51.91 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3375, allocations: 0 / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3375, allocations: 8 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/0.3378, allocations: 0.5859 MB / 0.5679 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3378, allocations: 0 / 0.5679 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.3384, allocations: 295.4 kB / 0.5682 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3385, allocations: 97.02 kB / 0.5683 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3385, allocations: 4 kB / 0.5683 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3386, allocations: 11.98 kB / 0.5683 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.3386, allocations: 11.92 kB / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3387, allocations: 4 kB / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.3387, allocations: 99.27 kB / 0.5684 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3387, allocations: 0 / 0.5684 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3391, allocations: 79.69 kB / 0.5685 GB, free: 10.52 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.001012/0.3401, allocations: 0.8986 MB / 0.5694 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.3405, allocations: 128.1 kB / 0.5695 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3405, allocations: 0 / 0.5695 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.3407, allocations: 63.91 kB / 0.5696 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.341, allocations: 19.17 kB / 0.5696 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3433, allocations: 1.73 MB / 0.5713 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3436, allocations: 0.7039 MB / 0.572 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.3437, allocations: 20.95 kB / 0.572 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.3438, allocations: 39.42 kB / 0.572 GB, free: 6.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3438, allocations: 0 / 0.572 GB, free: 6.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3719, allocations: 3.854 MB / 0.5758 GB, free: 3.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 3.859 kB / 0.5758 GB, free: 3.031 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.596905461978167] 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.938469298998825 11.963531197 11.628362042000001 Calling exit ...