Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001438/0.001438, 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.001608/0.001608, allocations: 214.9 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.94 MB / 359.6 MB, free: 6.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 69.55 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 65.47 MB / 0.5578 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003148/0.3296, allocations: 1.769 MB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3309, allocations: 0.7722 MB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.331, allocations: 0 / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.3312, allocations: 39.75 kB / 0.5603 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.3315, allocations: 79.64 kB / 0.5604 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.3317, allocations: 71.67 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3319, allocations: 131.5 kB / 0.5606 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3319, allocations: 5.953 kB / 0.5606 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.3321, allocations: 87.67 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3323, allocations: 83.77 kB / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3323, allocations: 7.938 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3324, allocations: 43.98 kB / 0.5608 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.3325, allocations: 35.81 kB / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.3325, allocations: 35.8 kB / 0.5608 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3328, allocations: 143.4 kB / 0.561 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3328, allocations: 0 / 0.561 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3328, allocations: 0 / 0.561 GB, free: 4.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3328, allocations: 0 / 0.561 GB, free: 4.273 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.0005613/0.3334, allocations: 333.9 kB / 0.5613 GB, free: 3.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3334, allocations: 15.97 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.3334, allocations: 4.188 kB / 0.5613 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.3335, allocations: 42.73 kB / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.3338, allocations: 40.75 kB / 0.5614 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.334, allocations: 122.5 kB / 0.5615 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.334, allocations: 12.12 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3341, allocations: 19.97 kB / 0.5615 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.3344, allocations: 180 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3344, allocations: 4 kB / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3345, allocations: 8 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.3345, allocations: 8 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.3348, allocations: 135.8 kB / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.3356, allocations: 0.5505 MB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.336, allocations: 102.7 kB / 0.5625 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3361, allocations: 40.83 kB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3361, allocations: 0 / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3361, allocations: 34.5 kB / 0.5626 GB, free: 2.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3361, allocations: 0 / 0.5626 GB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004329/0.3366, allocations: 145.7 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3366, allocations: 51.41 kB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3367, allocations: 130.5 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3367, allocations: 25.7 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.3368, allocations: 124 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3369, allocations: 23.8 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3369, allocations: 33.7 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.337, allocations: 318.8 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3372, allocations: 39.95 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3373, allocations: 95.64 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3376, allocations: 143.5 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3376, allocations: 4 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003262/0.3379, allocations: 157.4 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3379, allocations: 4 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3379, allocations: 4 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.338, allocations: 4 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3381, allocations: 44.22 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3382, allocations: 7.938 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3383, allocations: 19.88 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3383, allocations: 4.391 kB / 0.5639 GB, free: 1.02 MB / 398.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.0001093/0.3384, allocations: 137.7 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3384, allocations: 3.953 kB / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3387, allocations: 129.9 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3387, allocations: 7.922 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3387, allocations: 3.938 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3387, allocations: 0 / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.339, allocations: 164.7 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.339, allocations: 4 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3391, allocations: 27.97 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3391, allocations: 0 / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3391, allocations: 4 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3391, allocations: 4 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3391, allocations: 0 / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3394, allocations: 215.3 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.3394, allocations: 7.953 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3395, allocations: 4 kB / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.3396, allocations: 7.984 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.3396, allocations: 8 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3396, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.3397, allocations: 98.52 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3397, allocations: 4 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3399, allocations: 31.89 kB / 0.5647 GB, free: 96 kB / 398.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.0006819/0.3406, allocations: 0.7513 MB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.3409, allocations: 91.94 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3409, allocations: 0 / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.341, allocations: 47.89 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3413, allocations: 6.812 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3434, allocations: 1.682 MB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3435, allocations: 93.3 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.026e-05/0.3436, allocations: 28.47 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.3436, allocations: 27.42 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3436, allocations: 3.938 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3662, allocations: 2.477 MB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.61, allocations: 4.062 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.557845577015541] 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.769336664001457 11.785353016 11.449412895 Calling exit ...