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.General.dp_pressureLossCoefficient_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.001785/0.001785, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.00218/0.00218, allocations: 221 kB / 23.72 MB, free: 5.051 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.457/1.457, allocations: 230.2 MB / 257.1 MB, free: 8.488 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.2355/0.2355, allocations: 46.89 MB / 360.3 MB, free: 4.621 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.00226/0.00226, allocations: 79.86 kB / 0.4956 GB, free: 8.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3528, allocations: 65.99 MB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003762/0.3565, allocations: 1.702 MB / 0.5617 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3582, allocations: 0.8578 MB / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.3583, allocations: 0 / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.3586, allocations: 39.81 kB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3588, allocations: 63.61 kB / 0.5626 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.3592, allocations: 99.62 kB / 0.5627 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.3595, allocations: 147.2 kB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.3595, allocations: 8.875 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.3598, allocations: 67.75 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.36, allocations: 79.61 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.36, allocations: 8 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.3603, allocations: 159.8 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.3604, allocations: 43.81 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.3605, allocations: 63.61 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.3609, allocations: 205 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3609, allocations: 4 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3609, allocations: 0 / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3609, allocations: 0 / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000662/0.3616, allocations: 477 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3616, allocations: 8.031 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.3617, allocations: 50.73 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.3621, allocations: 56.78 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3624, allocations: 224 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3624, allocations: 4.375 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.3624, allocations: 19.94 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.3629, allocations: 249.2 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3629, allocations: 4 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3629, allocations: 4 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.363, allocations: 15.98 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.3634, allocations: 223.8 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3646, allocations: 0.7248 MB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3649, allocations: 86.5 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.365, allocations: 52.84 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.365, allocations: 7.984 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3651, allocations: 38.5 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3651, allocations: 0 / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005392/0.3656, allocations: 169.5 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3656, allocations: 51.41 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3658, allocations: 183.3 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3659, allocations: 29.7 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.366, allocations: 135.8 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.366, allocations: 31.77 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.3661, allocations: 37.66 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3662, allocations: 326.8 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3664, allocations: 51.89 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3666, allocations: 94.81 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.3669, allocations: 170.9 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3669, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003966/0.3673, allocations: 181.3 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3673, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3673, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3674, allocations: 8.156 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.3682, allocations: 95.83 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3697, allocations: 1.805 MB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3698, allocations: 27.86 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3699, allocations: 8 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.37, allocations: 145.9 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.3701, allocations: 11.95 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.3705, allocations: 178.9 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3705, allocations: 0 / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3705, allocations: 0 / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3705, allocations: 4 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.3708, allocations: 237.4 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3708, allocations: 4 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.3716, allocations: 79.84 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3716, allocations: 4 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3716, allocations: 3.984 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3728, allocations: 1.778 MB / 0.5713 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3728, allocations: 0 / 0.5713 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.3732, allocations: 243.4 kB / 0.5715 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.3733, allocations: 96.95 kB / 0.5716 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3733, allocations: 7.969 kB / 0.5716 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3735, allocations: 8.094 kB / 0.5716 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3735, allocations: 11.98 kB / 0.5716 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3735, allocations: 4 kB / 0.5716 GB, free: 8.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3737, allocations: 141.6 kB / 0.5718 GB, free: 8.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 0.5718 GB, free: 8.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.374, allocations: 47.89 kB / 0.5718 GB, free: 8.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008307/0.3749, allocations: 0.7827 MB / 0.5726 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3761, allocations: 208.1 kB / 0.5728 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3761, allocations: 3.938 kB / 0.5728 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.3767, allocations: 95.83 kB / 0.5729 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.3771, allocations: 40.61 kB / 0.5729 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.3799, allocations: 2.108 MB / 0.575 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3803, allocations: 0.7358 MB / 0.5757 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3804, allocations: 37.39 kB / 0.5757 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.3805, allocations: 43.42 kB / 0.5758 GB, free: 3.988 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3805, allocations: 0 / 0.5758 GB, free: 3.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.4098, allocations: 5.08 MB / 0.5807 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 7.359 kB / 0.5807 GB, free: 15.05 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.940992379095405] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 12.184900833759457 12.199549219 11.835638543 Calling exit ...