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.001873/0.001873, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002547/0.002547, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.45/1.45, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2504/0.2504, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.002234/0.002234, allocations: 83.84 kB / 0.4913 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 65.97 MB / 0.5557 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003026/0.1311, allocations: 1.827 MB / 0.5575 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1332, allocations: 1.391 MB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1333, allocations: 4 kB / 0.5588 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1335, allocations: 51.73 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1337, allocations: 51.62 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.1343, allocations: 255 kB / 0.5592 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1344, allocations: 103.5 kB / 0.5593 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1345, allocations: 9.125 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1346, allocations: 51.72 kB / 0.5593 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1347, allocations: 51.77 kB / 0.5594 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1347, allocations: 4 kB / 0.5594 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.1355, allocations: 0.5107 MB / 0.5599 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.1355, allocations: 15.86 kB / 0.5599 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.1355, allocations: 51.66 kB / 0.5599 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.1361, allocations: 358.8 kB / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1361, allocations: 0 / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1361, allocations: 0 / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1361, allocations: 0 / 0.5603 GB, free: 1.695 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.0006318/0.1367, allocations: 462.4 kB / 0.5607 GB, free: 1.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1367, allocations: 12.03 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.1368, allocations: 46.75 kB / 0.5608 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1368, allocations: 8.891 kB / 0.5608 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.137, allocations: 180.2 kB / 0.561 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.137, allocations: 8.375 kB / 0.561 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.137, allocations: 15.94 kB / 0.561 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1374, allocations: 137.6 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1374, allocations: 0 / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1374, allocations: 8 kB / 0.5611 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1374, allocations: 4 kB / 0.5611 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.1377, allocations: 131.9 kB / 0.5613 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.1386, allocations: 0.5183 MB / 0.5618 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1389, allocations: 94.59 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.139, allocations: 44.83 kB / 0.5619 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.139, allocations: 7.984 kB / 0.5619 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.139, allocations: 34.56 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.139, allocations: 0 / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004684/0.1395, allocations: 169.4 kB / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1396, allocations: 55.39 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.1396, allocations: 109.8 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1397, allocations: 33.7 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.1397, allocations: 119.6 kB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1398, allocations: 39.69 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.1398, allocations: 33.7 kB / 0.5625 GB, free: 15.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.14, allocations: 318.8 kB / 0.5628 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1401, allocations: 40.34 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1402, allocations: 82.8 kB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1405, allocations: 133.4 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1405, allocations: 4 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003386/0.1408, allocations: 165.3 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1409, allocations: 4 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1409, allocations: 4 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1409, allocations: 0 / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.1411, allocations: 43.97 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004534/0.1416, allocations: 0.5977 MB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1417, allocations: 15.95 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1417, allocations: 8 kB / 0.5638 GB, free: 13.75 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.0001155/0.1418, allocations: 117.8 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1418, allocations: 7.953 kB / 0.564 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.1423, allocations: 185.6 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1423, allocations: 0 / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1423, allocations: 11.88 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1423, allocations: 0 / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.1426, allocations: 209.6 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1426, allocations: 7.938 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.1428, allocations: 47.91 kB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1428, allocations: 4 kB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1428, allocations: 0 / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/0.1432, allocations: 0.5821 MB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1432, allocations: 4.031 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1437, allocations: 299.5 kB / 0.5653 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.1438, allocations: 100.9 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1438, allocations: 0 / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1439, allocations: 11.98 kB / 0.5654 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.144, allocations: 11.98 kB / 0.5654 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.144, allocations: 8 kB / 0.5654 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.144, allocations: 91.33 kB / 0.5655 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.144, allocations: 4 kB / 0.5655 GB, free: 11.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.1444, allocations: 75.67 kB / 0.5655 GB, free: 11.87 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.001094/0.1455, allocations: 0.8956 MB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.1459, allocations: 123.9 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1459, allocations: 0 / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1461, allocations: 67.89 kB / 0.5666 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1464, allocations: 12 kB / 0.5666 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1486, allocations: 1.733 MB / 0.5683 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.149, allocations: 0.7039 MB / 0.569 GB, free: 8.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.149, allocations: 20.53 kB / 0.569 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.1491, allocations: 35.42 kB / 0.569 GB, free: 8.125 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1491, allocations: 0 / 0.569 GB, free: 8.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.1774, allocations: 3.933 MB / 0.5729 GB, free: 4.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.92, allocations: 12.08 kB / 0.5729 GB, free: 4.395 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 & /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.893847580999136] 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'] 12.011129321996123 12.029364306 11.890236837 Calling exit ...