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.001712/0.001712, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002144/0.002144, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.546/1.546, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2706/0.2706, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.002344/0.002344, allocations: 83.86 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1333, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003368/0.1366, allocations: 1.819 MB / 0.558 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.139, allocations: 1.398 MB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.1391, allocations: 0 / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1393, allocations: 47.75 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1395, allocations: 63.55 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.1401, allocations: 254.4 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1403, allocations: 95.45 kB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.1403, allocations: 13.12 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1405, allocations: 59.7 kB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.1406, allocations: 43.78 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1407, allocations: 4 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007805/0.1414, allocations: 0.5146 MB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.1415, allocations: 11.92 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.1415, allocations: 51.66 kB / 0.5604 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.1421, allocations: 354.8 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1421, allocations: 0 / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1421, allocations: 4 kB / 0.5608 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1421, allocations: 0 / 0.5608 GB, free: 0.7891 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.0006621/0.1428, allocations: 458.4 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1428, allocations: 12.03 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.1429, allocations: 46.73 kB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1429, allocations: 8.891 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1431, allocations: 176.2 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1431, allocations: 8.375 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.1432, allocations: 15.98 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1435, allocations: 141.6 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1435, allocations: 3.984 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1435, allocations: 8 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1435, allocations: 0 / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.1439, allocations: 135.9 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.1448, allocations: 0.5222 MB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1451, allocations: 98.52 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1452, allocations: 44.83 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1453, allocations: 7.984 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1453, allocations: 38.56 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.1453, allocations: 0 / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005096/0.1458, allocations: 169.7 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1458, allocations: 51.41 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1459, allocations: 113.8 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.146, allocations: 29.7 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.146, allocations: 123.7 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1461, allocations: 35.69 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.1461, allocations: 33.7 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1463, allocations: 322.8 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1464, allocations: 35.97 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1466, allocations: 86.33 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1469, allocations: 136.9 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1469, allocations: 0 / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004981/0.1474, allocations: 157.5 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1474, allocations: 4 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1474, allocations: 0 / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1474, allocations: 4 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1476, allocations: 48.12 kB / 0.5637 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005912/0.1482, allocations: 0.5976 MB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1483, allocations: 12.03 kB / 0.5643 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1484, allocations: 8 kB / 0.5643 GB, free: 12.84 MB / 430.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.1485, allocations: 129.8 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1485, allocations: 7.953 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.149, allocations: 170.2 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.149, allocations: 0 / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.149, allocations: 7.875 kB / 0.5646 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.149, allocations: 7.984 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1493, allocations: 213.6 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1493, allocations: 0 / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1495, allocations: 39.92 kB / 0.5649 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1495, allocations: 7.984 kB / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1495, allocations: 0 / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003703/0.1499, allocations: 0.586 MB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1499, allocations: 4.094 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1505, allocations: 299.3 kB / 0.5658 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.1505, allocations: 96.95 kB / 0.5659 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1506, allocations: 4 kB / 0.5659 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1507, allocations: 7.984 kB / 0.5659 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1507, allocations: 20.05 kB / 0.5659 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1507, allocations: 0 / 0.5659 GB, free: 11.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1509, allocations: 95.2 kB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1509, allocations: 0 / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1512, allocations: 75.69 kB / 0.566 GB, free: 10.96 MB / 430.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.001206/0.1524, allocations: 0.8995 MB / 0.5669 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.1529, allocations: 127.9 kB / 0.567 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1529, allocations: 0 / 0.567 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1531, allocations: 70.89 kB / 0.5671 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1534, allocations: 8 kB / 0.5671 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1558, allocations: 1.725 MB / 0.5688 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1562, allocations: 0.7117 MB / 0.5695 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.701e-05/0.1563, allocations: 12.97 kB / 0.5695 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.1564, allocations: 35.42 kB / 0.5695 GB, free: 7.219 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1564, allocations: 4 kB / 0.5695 GB, free: 7.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.186, allocations: 3.931 MB / 0.5734 GB, free: 3.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.69, allocations: 10.75 kB / 0.5734 GB, free: 3.488 MB / 430.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.91250561317429] 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.778826834168285 11.79394646 11.648812118 Calling exit ...