Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 214.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 46.97 MB / 361.7 MB, free: 4.02 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3319, allocations: 66.04 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003213/0.3352, allocations: 1.777 MB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3365, allocations: 0.7684 MB / 0.5639 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.3366, allocations: 0 / 0.5639 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3368, allocations: 39.77 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.3371, allocations: 87.5 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.3373, allocations: 67.73 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3375, allocations: 135.4 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.3375, allocations: 9.812 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3377, allocations: 75.75 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.3379, allocations: 95.62 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3379, allocations: 4 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.338, allocations: 47.92 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.3381, allocations: 27.91 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.3381, allocations: 35.8 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3384, allocations: 147.4 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3384, allocations: 0 / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3384, allocations: 3.938 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3384, allocations: 0 / 0.5646 GB, free: 0.918 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005753/0.339, allocations: 333.9 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.339, allocations: 11.97 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.814e-05/0.339, allocations: 4.188 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3391, allocations: 42.73 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.3394, allocations: 40.8 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3396, allocations: 130.4 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3396, allocations: 8.125 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3396, allocations: 12 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.34, allocations: 176.1 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.34, allocations: 0 / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.34, allocations: 15.97 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.3401, allocations: 8 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3404, allocations: 131.9 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.3413, allocations: 0.5466 MB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.3416, allocations: 106.6 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3417, allocations: 40.83 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3417, allocations: 0 / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3418, allocations: 30.56 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3418, allocations: 4 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000407/0.3422, allocations: 133.6 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3422, allocations: 55.34 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3423, allocations: 137.2 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3424, allocations: 25.7 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.3424, allocations: 128 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3425, allocations: 27.78 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.3425, allocations: 29.72 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3427, allocations: 322.8 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3428, allocations: 35.97 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.343, allocations: 95.69 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3432, allocations: 143.5 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3432, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003282/0.3436, allocations: 157.4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3436, allocations: 8 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3436, allocations: 3.984 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3436, allocations: 8.25 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3438, allocations: 47.91 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3438, allocations: 4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.3439, allocations: 19.88 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3439, allocations: 4 kB / 0.5675 GB, free: 13.67 MB / 414.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.0001228/0.344, allocations: 141.6 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3441, allocations: 7.953 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.3444, allocations: 122 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3444, allocations: 3.938 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3444, allocations: 4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3444, allocations: 0 / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3446, allocations: 164.7 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3446, allocations: 0 / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3448, allocations: 31.91 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3448, allocations: 0 / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3448, allocations: 4 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3448, allocations: 8 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3448, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.3451, allocations: 211.8 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.3451, allocations: 7.953 kB / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3451, allocations: 3.984 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3452, allocations: 4 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3453, allocations: 11.98 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3453, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.3453, allocations: 103.2 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3456, allocations: 31.89 kB / 0.5683 GB, free: 12.75 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 (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.0006794/0.3463, allocations: 0.7396 MB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.3466, allocations: 107.8 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3466, allocations: 0 / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3467, allocations: 35.97 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.347, allocations: 8 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.349, allocations: 1.681 MB / 0.5708 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3491, allocations: 97.3 kB / 0.5709 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.226e-05/0.3492, allocations: 32.44 kB / 0.571 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.3492, allocations: 23.44 kB / 0.571 GB, free: 9.859 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3492, allocations: 0 / 0.571 GB, free: 9.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3707, allocations: 2.467 MB / 0.5734 GB, free: 7.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.55, allocations: 14.56 kB / 0.5734 GB, free: 7.559 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_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_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.505067766993307] 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'] 11.704544620006345 11.719555723 11.378192284 Calling exit ...