Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001839/0.001839, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002354/0.002354, allocations: 214 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002231/0.002231, allocations: 74.86 kB / 468.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 61.04 MB / 0.5169 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003285/0.1399, allocations: 1.782 MB / 0.5187 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1413, allocations: 0.776 MB / 0.5194 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.1414, allocations: 3.938 kB / 0.5194 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1416, allocations: 35.83 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1419, allocations: 91.56 kB / 0.5196 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1421, allocations: 63.73 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1423, allocations: 135.4 kB / 0.5198 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1424, allocations: 3.984 kB / 0.5198 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1425, allocations: 71.75 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1427, allocations: 91.64 kB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1427, allocations: 4 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1428, allocations: 55.91 kB / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.1429, allocations: 31.91 kB / 0.52 GB, free: 4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.143, allocations: 31.8 kB / 0.52 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1432, allocations: 143.5 kB / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1432, allocations: 0 / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1432, allocations: 0 / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1432, allocations: 0 / 0.5202 GB, free: 3.828 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.0005936/0.1438, allocations: 337.8 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1439, allocations: 8.031 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.459e-05/0.1439, allocations: 4.188 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1439, allocations: 42.73 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.1443, allocations: 36.86 kB / 0.5206 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1445, allocations: 130.4 kB / 0.5207 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1445, allocations: 16.12 kB / 0.5207 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1445, allocations: 8 kB / 0.5207 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.1449, allocations: 172.1 kB / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1449, allocations: 4 kB / 0.5209 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1449, allocations: 7.984 kB / 0.5209 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.1449, allocations: 11.98 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1453, allocations: 139.7 kB / 0.521 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.1461, allocations: 0.5428 MB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.1465, allocations: 102.6 kB / 0.5217 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1466, allocations: 44.83 kB / 0.5217 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1466, allocations: 0 / 0.5217 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1466, allocations: 38.55 kB / 0.5218 GB, free: 2.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1466, allocations: 0 / 0.5218 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004466/0.1471, allocations: 133.5 kB / 0.5219 GB, free: 1.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1471, allocations: 55.56 kB / 0.5219 GB, free: 1.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1473, allocations: 134 kB / 0.5221 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1473, allocations: 25.7 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.1474, allocations: 128 kB / 0.5222 GB, free: 1.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1474, allocations: 27.78 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.1475, allocations: 33.66 kB / 0.5223 GB, free: 1.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1476, allocations: 326.8 kB / 0.5226 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1477, allocations: 31.97 kB / 0.5226 GB, free: 1.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1479, allocations: 91.69 kB / 0.5227 GB, free: 1.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1482, allocations: 143.5 kB / 0.5228 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1482, allocations: 3.938 kB / 0.5228 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003664/0.1486, allocations: 161.4 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1486, allocations: 8 kB / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1486, allocations: 0 / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1486, allocations: 4 kB / 0.523 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1488, allocations: 47.91 kB / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1488, allocations: 0 / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1489, allocations: 16.14 kB / 0.5231 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1489, allocations: 19.98 kB / 0.5231 GB, free: 0.5781 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.000115/0.149, allocations: 129.7 kB / 0.5232 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1491, allocations: 7.953 kB / 0.5232 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1494, allocations: 122 kB / 0.5233 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1494, allocations: 4 kB / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1494, allocations: 0 / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1494, allocations: 0 / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1497, allocations: 176.5 kB / 0.5235 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1497, allocations: 0 / 0.5235 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1498, allocations: 27.92 kB / 0.5235 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1498, allocations: 0 / 0.5235 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1498, allocations: 11.98 kB / 0.5235 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1498, allocations: 0 / 0.5235 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1498, allocations: 0 / 0.5235 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.1502, allocations: 211.8 kB / 0.5237 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.1502, allocations: 8 kB / 0.5237 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1502, allocations: 3.984 kB / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.1503, allocations: 4 kB / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1504, allocations: 11.98 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1504, allocations: 0 / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.055e-05/0.1504, allocations: 95.27 kB / 0.5239 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1504, allocations: 0 / 0.5239 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1507, allocations: 27.95 kB / 0.5239 GB, free: 15.68 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.0007003/0.1514, allocations: 0.7475 MB / 0.5246 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1517, allocations: 103.7 kB / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1517, allocations: 0 / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1518, allocations: 44.47 kB / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1521, allocations: 8 kB / 0.5248 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1541, allocations: 1.7 MB / 0.5264 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.1542, allocations: 93.31 kB / 0.5265 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.23e-05/0.1543, allocations: 32.44 kB / 0.5265 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.1544, allocations: 27.44 kB / 0.5266 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1544, allocations: 0 / 0.5266 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.1798, allocations: 2.474 MB / 0.529 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.45, allocations: 7.922 kB / 0.529 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.7334110729862] 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.61431245796848 11.819229856 11.672775429 Calling exit ...