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.001493/0.001493, allocations: 109 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.001739/0.001739, allocations: 213.9 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.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2169/0.2169, allocations: 46.93 MB / 361.6 MB, free: 4.172 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.00233/0.00233, allocations: 79.88 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3464, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003203/0.3496, allocations: 1.826 MB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.3518, allocations: 1.419 MB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.3519, allocations: 0 / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3521, allocations: 51.69 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3523, allocations: 55.61 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.3528, allocations: 247.1 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3529, allocations: 103.4 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.353, allocations: 9.25 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3531, allocations: 59.78 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3533, allocations: 47.7 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3533, allocations: 4 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.354, allocations: 0.5069 MB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.354, allocations: 15.86 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.3541, allocations: 47.72 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.3546, allocations: 364.8 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3546, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3546, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3546, allocations: 4 kB / 0.5662 GB, free: 15.53 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.0005461/0.3551, allocations: 373.3 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3552, allocations: 12.03 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.3552, allocations: 46.73 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.3553, allocations: 8.891 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3554, allocations: 122.3 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3554, allocations: 8.375 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.3554, allocations: 15.94 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.3557, allocations: 153.6 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3557, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3557, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3558, allocations: 7.938 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.3561, allocations: 135.9 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.3569, allocations: 0.4939 MB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3572, allocations: 94.64 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3573, allocations: 40.83 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3574, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3574, allocations: 42.5 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3574, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004836/0.3579, allocations: 161.8 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3579, allocations: 51.41 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.358, allocations: 117.8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.358, allocations: 25.7 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.3581, allocations: 123.7 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.3582, allocations: 39.62 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3582, allocations: 33.72 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3584, allocations: 318.8 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3585, allocations: 43.91 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3586, allocations: 81.11 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3589, allocations: 137 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3589, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003375/0.3592, allocations: 157.5 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3593, allocations: 4 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3593, allocations: 3.984 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3593, allocations: 4 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3595, allocations: 52.06 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004149/0.3599, allocations: 0.5898 MB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.36, allocations: 19.95 kB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.36, allocations: 4 kB / 0.5696 GB, free: 11.78 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.0001034/0.3601, allocations: 117.8 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3602, allocations: 16.05 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.3606, allocations: 178.2 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3606, allocations: 0 / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3606, allocations: 7.875 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3606, allocations: 4 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3609, allocations: 184.7 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3609, allocations: 0 / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3611, allocations: 43.91 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3611, allocations: 4 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3611, allocations: 4 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003432/0.3615, allocations: 0.5821 MB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3615, allocations: 4.031 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.3619, allocations: 295.4 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.362, allocations: 15.91 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.362, allocations: 4 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3621, allocations: 7.984 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.3621, allocations: 19.98 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.3622, allocations: 4.062 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.3622, allocations: 95.2 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3622, allocations: 0 / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.3626, allocations: 83.62 kB / 0.5712 GB, free: 10.03 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.0009766/0.3635, allocations: 0.9067 MB / 0.5721 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.3639, allocations: 119.9 kB / 0.5722 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.364, allocations: 4 kB / 0.5722 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3641, allocations: 67.89 kB / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3645, allocations: 8.875 kB / 0.5722 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.3666, allocations: 1.717 MB / 0.5739 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3669, allocations: 0.7078 MB / 0.5746 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.367, allocations: 24.88 kB / 0.5746 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.3671, allocations: 39.42 kB / 0.5747 GB, free: 6.281 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3671, allocations: 7.938 kB / 0.5747 GB, free: 6.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.3953, allocations: 3.952 MB / 0.5785 GB, free: 2.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 4.062 kB / 0.5786 GB, free: 2.453 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_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.679243115708232] 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.83506231289357 11.851455232 11.493671512 Calling exit ...