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.Bend.dp_edgedOverall_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.001272/0.001272, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001492/0.001492, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 8 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.2583/0.2583, allocations: 46.93 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] 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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.002289/0.002289, allocations: 83.86 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3569, allocations: 66.08 MB / 0.5615 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003231/0.3602, allocations: 1.796 MB / 0.5633 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.3632, allocations: 1.93 MB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.3633, allocations: 8 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.3636, allocations: 47.73 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.3639, allocations: 79.58 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.365, allocations: 0.5765 MB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.3653, allocations: 238.8 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.3654, allocations: 5.812 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3656, allocations: 111.4 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.3658, allocations: 119.5 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3658, allocations: 8 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.3677, allocations: 1.174 MB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3678, allocations: 67.67 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3679, allocations: 99.3 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3693, allocations: 0.8081 MB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3693, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.683e-06/0.3693, allocations: 3.984 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3693, allocations: 4 kB / 0.5684 GB, free: 13.07 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000987/0.3703, allocations: 0.5357 MB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3703, allocations: 12.03 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.21e-05/0.3704, allocations: 62.72 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.3705, allocations: 32.75 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3707, allocations: 181.6 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3708, allocations: 20.38 kB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3708, allocations: 20 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.3714, allocations: 384.3 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3714, allocations: 0 / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3715, allocations: 4 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.3715, allocations: 40.62 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.3722, allocations: 390.3 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3738, allocations: 0.9892 MB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.3745, allocations: 262 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3747, allocations: 92.78 kB / 0.5714 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.3747, allocations: 8.062 kB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3748, allocations: 38.56 kB / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.3748, allocations: 7.875 kB / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007632/0.3755, allocations: 317.3 kB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3756, allocations: 59.39 kB / 0.5718 GB, free: 9.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3758, allocations: 227.9 kB / 0.572 GB, free: 9.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3758, allocations: 25.7 kB / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.376, allocations: 156.3 kB / 0.5722 GB, free: 9.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.376, allocations: 75.38 kB / 0.5722 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.3761, allocations: 45.7 kB / 0.5723 GB, free: 8.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3763, allocations: 330.8 kB / 0.5726 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3764, allocations: 75.92 kB / 0.5727 GB, free: 8.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3767, allocations: 110.5 kB / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.3771, allocations: 205.4 kB / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3771, allocations: 0 / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005112/0.3776, allocations: 261.3 kB / 0.5732 GB, free: 7.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3776, allocations: 11.94 kB / 0.5732 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3776, allocations: 0 / 0.5732 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3776, allocations: 0 / 0.5732 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.378, allocations: 91.89 kB / 0.5733 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3795, allocations: 2.383 MB / 0.5756 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3797, allocations: 36.08 kB / 0.5757 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3797, allocations: 11.94 kB / 0.5757 GB, free: 5.293 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.3799, allocations: 155.1 kB / 0.5758 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.3799, allocations: 23.86 kB / 0.5759 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.3807, allocations: 356.1 kB / 0.5762 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3807, allocations: 4 kB / 0.5762 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3807, allocations: 4 kB / 0.5762 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3807, allocations: 0 / 0.5762 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.3811, allocations: 288.5 kB / 0.5765 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3811, allocations: 0 / 0.5765 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.3815, allocations: 83.95 kB / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3815, allocations: 0 / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3815, allocations: 15.92 kB / 0.5766 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.3829, allocations: 2.379 MB / 0.5789 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3829, allocations: 4.328 kB / 0.5789 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.3835, allocations: 367.7 kB / 0.5793 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3836, allocations: 51.7 kB / 0.5793 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.3836, allocations: 11.92 kB / 0.5793 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3838, allocations: 8 kB / 0.5793 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3838, allocations: 15.97 kB / 0.5793 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3839, allocations: 23.98 kB / 0.5794 GB, free: 1.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.384, allocations: 168.1 kB / 0.5795 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.384, allocations: 0 / 0.5795 GB, free: 1.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005492/0.3846, allocations: 175.2 kB / 0.5797 GB, free: 1.02 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.3859, allocations: 1.039 MB / 0.5807 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.3865, allocations: 260.4 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3866, allocations: 0 / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.387, allocations: 163.8 kB / 0.5811 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3874, allocations: 43.69 kB / 0.5811 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3911, allocations: 2.839 MB / 0.5839 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3915, allocations: 0.7831 MB / 0.5847 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000213/0.3917, allocations: 85.77 kB / 0.5848 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3918, allocations: 87.39 kB / 0.5849 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3918, allocations: 0 / 0.5849 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4292, allocations: 9.019 MB / 0.5937 GB, free: 2.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 0 / 0.5937 GB, free: 2.703 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.016212095040828] Failed to read output from testmodel.py, exit status != 0: ['time', 'delta[1]', 'delta[2]', 'delta[3]', 'delta[4]', 'eta', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_mdot[4]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'input_dp[4]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'M_FLOW[4]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP[4]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'DP_plot[4]', 'velocity[1]', 'velocity[2]', 'velocity[3]', 'velocity[4]', 'Re[1]', 'Re[2]', 'Re[3]', 'Re[4]', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'zeta_TOT[4]', 'input_DP.y'] 12.171353744808584 12.186597585 11.814332959 Calling exit ...