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.StraightPipe.dp_laminar_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.00174/0.00174, allocations: 122.7 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.002116/0.002116, allocations: 210.5 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.25 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.2299/0.2299, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.002241/0.002241, allocations: 83.86 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1387, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003262/0.142, allocations: 1.821 MB / 0.5575 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1434, allocations: 0.8335 MB / 0.5583 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.1435, allocations: 0 / 0.5583 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1438, allocations: 47.75 kB / 0.5583 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1441, allocations: 75.58 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1443, allocations: 71.72 kB / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1445, allocations: 135.4 kB / 0.5586 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1445, allocations: 11.98 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1447, allocations: 67.75 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1449, allocations: 87.7 kB / 0.5587 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1449, allocations: 4 kB / 0.5587 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.1451, allocations: 71.88 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.1451, allocations: 35.84 kB / 0.5588 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1452, allocations: 39.8 kB / 0.5589 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1455, allocations: 147.3 kB / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1455, allocations: 0 / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1455, allocations: 0 / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1455, allocations: 0 / 0.559 GB, free: 2.953 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006401/0.1461, allocations: 411 kB / 0.5594 GB, free: 2.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1462, allocations: 12.03 kB / 0.5594 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.1462, allocations: 42.73 kB / 0.5595 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.1466, allocations: 44.8 kB / 0.5595 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1468, allocations: 184.2 kB / 0.5597 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1468, allocations: 8.375 kB / 0.5597 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1469, allocations: 11.94 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1472, allocations: 172.1 kB / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1472, allocations: 7.938 kB / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1473, allocations: 3.984 kB / 0.5599 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.1473, allocations: 12 kB / 0.5599 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1476, allocations: 131.9 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.1486, allocations: 0.6483 MB / 0.5607 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.1489, allocations: 102.6 kB / 0.5608 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.149, allocations: 36.83 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.149, allocations: 4 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1491, allocations: 46.48 kB / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1491, allocations: 0 / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004324/0.1495, allocations: 133.5 kB / 0.561 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1496, allocations: 55.41 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1497, allocations: 125.3 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1497, allocations: 29.7 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1498, allocations: 132.1 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1498, allocations: 23.8 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1499, allocations: 33.7 kB / 0.5613 GB, free: 336 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.15, allocations: 318.8 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1501, allocations: 39.95 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1503, allocations: 92.95 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.1506, allocations: 143.5 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1506, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003238/0.1509, allocations: 157.4 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1509, allocations: 11.94 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1509, allocations: 0 / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1509, allocations: 7.984 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1511, allocations: 43.97 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1511, allocations: 256 / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1512, allocations: 23.88 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1512, allocations: 8 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1514, allocations: 133.7 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1514, allocations: 7.953 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1517, allocations: 125.9 kB / 0.5624 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1517, allocations: 4 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1517, allocations: 4 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1517, allocations: 0 / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.152, allocations: 197.5 kB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.152, allocations: 0 / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1521, allocations: 27.97 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1521, allocations: 0 / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1521, allocations: 4 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1521, allocations: 3.938 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.1521, allocations: 4 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1525, allocations: 215.8 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.1525, allocations: 81.06 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1526, allocations: 7.938 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.1527, allocations: 7.984 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1527, allocations: 4 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1527, allocations: 8 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.1528, allocations: 95.2 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1528, allocations: 0 / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.153, allocations: 27.95 kB / 0.5631 GB, free: 14.39 MB / 430.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007206/0.1538, allocations: 0.7437 MB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1541, allocations: 99.8 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1541, allocations: 0 / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1542, allocations: 44.41 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1544, allocations: 11.98 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1564, allocations: 1.671 MB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1568, allocations: 0.7041 MB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.569e-05/0.1569, allocations: 36.5 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.1569, allocations: 25.16 kB / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1569, allocations: 0 / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.181, allocations: 2.334 MB / 0.5686 GB, free: 8.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/7.943, allocations: 15.47 kB / 0.5686 GB, free: 8.703 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.828314991667867] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 8.0113361813128 8.027393362 7.878952059 Calling exit ...