Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.00139/0.00139, allocations: 114.3 kB / 18.49 MB, free: 4.535 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.001335/0.001335, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.422/1.422, allocations: 230.4 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.93 MB / 357.7 MB, free: 10.13 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002133/0.002133, allocations: 83.83 kB / 0.4917 GB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1167, allocations: 66.05 MB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00303/0.1197, allocations: 1.813 MB / 0.558 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1211, allocations: 0.8374 MB / 0.5588 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.1211, allocations: 7.938 kB / 0.5588 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1213, allocations: 35.81 kB / 0.5588 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1215, allocations: 75.58 kB / 0.5589 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1217, allocations: 71.72 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1219, allocations: 135.4 kB / 0.5591 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1219, allocations: 15.98 kB / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1221, allocations: 71.75 kB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1222, allocations: 87.7 kB / 0.5592 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1223, allocations: 4 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1224, allocations: 75.88 kB / 0.5593 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1225, allocations: 31.84 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1225, allocations: 43.73 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1228, allocations: 139.4 kB / 0.5595 GB, free: 1.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1228, allocations: 0 / 0.5595 GB, free: 1.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1228, allocations: 0 / 0.5595 GB, free: 1.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1228, allocations: 0 / 0.5595 GB, free: 1.973 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005765/0.1234, allocations: 411 kB / 0.5599 GB, free: 1.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1234, allocations: 12.03 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.1234, allocations: 4.188 kB / 0.5599 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1235, allocations: 42.73 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.1238, allocations: 40.8 kB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.124, allocations: 184.2 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.124, allocations: 16.12 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.124, allocations: 8 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.1244, allocations: 180.1 kB / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1244, allocations: 0 / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1244, allocations: 11.98 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.1244, allocations: 11.94 kB / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.1247, allocations: 131.8 kB / 0.5605 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.1256, allocations: 0.6483 MB / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1259, allocations: 106.7 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1261, allocations: 32.83 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1261, allocations: 0 / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1261, allocations: 34.56 kB / 0.5613 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.1261, allocations: 0 / 0.5613 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.1266, allocations: 145.5 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1266, allocations: 55.41 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1267, allocations: 122 kB / 0.5616 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1268, allocations: 25.7 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.1268, allocations: 124.2 kB / 0.5618 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1269, allocations: 27.78 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.1269, allocations: 37.7 kB / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.127, allocations: 318.8 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1272, allocations: 39.95 kB / 0.5622 GB, free: 14.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1273, allocations: 97.31 kB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1276, allocations: 143.5 kB / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1276, allocations: 0 / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000336/0.1279, allocations: 157.6 kB / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.128, allocations: 12.03 kB / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.128, allocations: 0 / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.128, allocations: 4 kB / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1282, allocations: 39.97 kB / 0.5626 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1282, allocations: 3.938 kB / 0.5626 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.1283, allocations: 19.88 kB / 0.5626 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1283, allocations: 12 kB / 0.5627 GB, free: 14.45 MB / 430.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.0001002/0.1284, allocations: 129.8 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1284, allocations: 7.953 kB / 0.5628 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.1287, allocations: 125.9 kB / 0.5629 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1287, allocations: 3.984 kB / 0.5629 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1287, allocations: 0 / 0.5629 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1287, allocations: 4 kB / 0.5629 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.129, allocations: 197.5 kB / 0.5631 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.129, allocations: 4 kB / 0.5631 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1291, allocations: 31.97 kB / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1291, allocations: 0 / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1291, allocations: 3.938 kB / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1291, allocations: 0 / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1291, allocations: 0 / 0.5631 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1294, allocations: 227.7 kB / 0.5634 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1295, allocations: 81.06 kB / 0.5634 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1295, allocations: 4 kB / 0.5634 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.1296, allocations: 8 kB / 0.5634 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1296, allocations: 3.984 kB / 0.5635 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1297, allocations: 4 kB / 0.5635 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.839e-05/0.1297, allocations: 92.52 kB / 0.5635 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1297, allocations: 0 / 0.5635 GB, free: 13.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.13, allocations: 27.95 kB / 0.5636 GB, free: 13.41 MB / 430.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.0006454/0.1306, allocations: 0.7553 MB / 0.5643 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1309, allocations: 95.86 kB / 0.5644 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1309, allocations: 0 / 0.5644 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.131, allocations: 39.91 kB / 0.5644 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1313, allocations: 11.94 kB / 0.5644 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1332, allocations: 1.68 MB / 0.5661 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1336, allocations: 0.7041 MB / 0.5668 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.685e-05/0.1337, allocations: 32.52 kB / 0.5668 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.1337, allocations: 27.44 kB / 0.5668 GB, free: 9.883 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1337, allocations: 0 / 0.5668 GB, free: 9.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.15, allocations: 2.381 MB / 0.5692 GB, free: 7.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.024, allocations: 8.062 kB / 0.5692 GB, free: 7.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.9752113110153] 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'] 8.144464759039693 8.158589078 8.033106424 Calling exit ...