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.001492/0.001492, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001558/0.001558, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2202/0.2202, allocations: 46.93 MB / 361.6 MB, free: 4.301 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.002235/0.002235, allocations: 63.91 kB / 0.497 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 66.04 MB / 0.5614 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003216/0.3361, allocations: 1.828 MB / 0.5632 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3375, allocations: 0.85 MB / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3375, allocations: 4 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3378, allocations: 39.73 kB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.338, allocations: 87.52 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.3382, allocations: 63.75 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3384, allocations: 139.4 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.3385, allocations: 9.812 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3386, allocations: 79.73 kB / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3388, allocations: 83.72 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3388, allocations: 4 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.339, allocations: 71.88 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.339, allocations: 35.83 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.3391, allocations: 39.8 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3393, allocations: 147.3 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3393, allocations: 4 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3393, allocations: 0 / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3393, allocations: 0 / 0.5648 GB, free: 1.031 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.0005551/0.3399, allocations: 333.9 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3399, allocations: 8.031 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.34, allocations: 4.188 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.34, allocations: 38.75 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.3403, allocations: 40.81 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3405, allocations: 134.4 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3405, allocations: 12.11 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3405, allocations: 12 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3409, allocations: 172.1 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3409, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3409, allocations: 4 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.341, allocations: 19.92 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3413, allocations: 127.9 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.3422, allocations: 0.6162 MB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3425, allocations: 106.6 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3426, allocations: 36.77 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3426, allocations: 8.156 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3426, allocations: 34.55 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3426, allocations: 0 / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000447/0.3431, allocations: 141.5 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3431, allocations: 55.41 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3432, allocations: 126 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3433, allocations: 33.64 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.3434, allocations: 128.1 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3434, allocations: 15.8 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.3434, allocations: 33.7 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3436, allocations: 322.8 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3437, allocations: 39.95 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3439, allocations: 95.69 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3442, allocations: 139.5 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3442, allocations: 4 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003501/0.3445, allocations: 161.4 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3445, allocations: 8 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3445, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3446, allocations: 4 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.3447, allocations: 43.91 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3447, allocations: 256 / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3448, allocations: 27.88 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3449, allocations: 8 kB / 0.5678 GB, free: 13.7 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.0001173/0.345, allocations: 133.6 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.345, allocations: 7.953 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.3453, allocations: 118.4 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3453, allocations: 4 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3453, allocations: 4 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3453, allocations: 0 / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3456, allocations: 176.6 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3456, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3457, allocations: 27.97 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3457, allocations: 0 / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3457, allocations: 0 / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3457, allocations: 4 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3457, allocations: 4.016 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.346, allocations: 215.4 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.3461, allocations: 7.953 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3461, allocations: 4 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.3462, allocations: 7.984 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3462, allocations: 4 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3462, allocations: 3.938 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.3463, allocations: 99.27 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3463, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3465, allocations: 31.89 kB / 0.5686 GB, free: 12.79 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.0006716/0.3472, allocations: 0.7513 MB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.3475, allocations: 91.81 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3475, allocations: 0 / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3476, allocations: 40.45 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3479, allocations: 12 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.35, allocations: 1.679 MB / 0.5711 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.3504, allocations: 0.708 MB / 0.5718 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.113e-05/0.3505, allocations: 32.45 kB / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.3505, allocations: 31.42 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3505, allocations: 0 / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.3726, allocations: 2.484 MB / 0.5743 GB, free: 6.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.27, allocations: 8.047 kB / 0.5743 GB, free: 6.953 MB / 414.1 MB " [Timeout remaining time 649] (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.26430524099851] 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.436102008039597 11.46348485 11.1191981 Calling exit ...