Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.00133/0.00133, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.00157/0.00157, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.407/1.407, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2186/0.2186, allocations: 46.91 MB / 357.7 MB, free: 10.21 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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 83.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 66.05 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003308/0.1321, allocations: 1.836 MB / 0.558 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1333, allocations: 0.6347 MB / 0.5586 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1334, allocations: 8 kB / 0.5586 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1337, allocations: 51.67 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1339, allocations: 75.58 kB / 0.5587 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1344, allocations: 115.5 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.1347, allocations: 230.8 kB / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.1348, allocations: 24.31 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1349, allocations: 95.44 kB / 0.5592 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1351, allocations: 107.4 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1351, allocations: 11.94 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.1355, allocations: 219.8 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.1356, allocations: 51.77 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1357, allocations: 103.2 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.1362, allocations: 334.7 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1362, allocations: 0 / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1362, allocations: 0 / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1362, allocations: 0 / 0.56 GB, free: 1.641 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008157/0.137, allocations: 0.5326 MB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1371, allocations: 8.031 kB / 0.5605 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.662e-05/0.1371, allocations: 8.75 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.1372, allocations: 66.72 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.139, allocations: 204.4 kB / 0.5607 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1394, allocations: 272 kB / 0.561 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1394, allocations: 16.94 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.1395, allocations: 16.38 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1405, allocations: 0.5043 MB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1405, allocations: 0 / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1406, allocations: 15.98 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/0.1406, allocations: 28.53 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1419, allocations: 0.5798 MB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.1442, allocations: 1.174 MB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.1449, allocations: 170.4 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.1453, allocations: 80.7 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1453, allocations: 0 / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1453, allocations: 38.56 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1453, allocations: 4 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001319/0.1466, allocations: 301.4 kB / 0.5639 GB, free: 13.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1467, allocations: 55.41 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.147, allocations: 278.6 kB / 0.5642 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.147, allocations: 25.7 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1471, allocations: 167.7 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1472, allocations: 27.78 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.1473, allocations: 33.69 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1474, allocations: 342.8 kB / 0.5647 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.1478, allocations: 87.84 kB / 0.5648 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.1482, allocations: 123.3 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.149, allocations: 215.1 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.149, allocations: 0 / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009034/0.1499, allocations: 261.2 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1499, allocations: 8 kB / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1499, allocations: 0 / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1499, allocations: 0 / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005908/0.1558, allocations: 475.4 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.1588, allocations: 1.941 MB / 0.5678 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.1592, allocations: 39.78 kB / 0.5678 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1592, allocations: 11.98 kB / 0.5678 GB, free: 9.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1594, allocations: 169.7 kB / 0.568 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.1595, allocations: 27.84 kB / 0.568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1596, allocations: 21.72 kB / 0.568 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1596, allocations: 0 / 0.568 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1596, allocations: 3.984 kB / 0.568 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1596, allocations: 0 / 0.568 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.1601, allocations: 289.4 kB / 0.5683 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1601, allocations: 0 / 0.5683 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005718/0.1658, allocations: 455.3 kB / 0.5687 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1658, allocations: 4 kB / 0.5687 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.1658, allocations: 11.97 kB / 0.5687 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.1689, allocations: 1.945 MB / 0.5706 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1689, allocations: 3.938 kB / 0.5706 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.1698, allocations: 319.3 kB / 0.571 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1699, allocations: 100.9 kB / 0.571 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.1699, allocations: 3.984 kB / 0.5711 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1703, allocations: 19.97 kB / 0.5711 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.1704, allocations: 15.92 kB / 0.5711 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1704, allocations: 7.984 kB / 0.5711 GB, free: 5.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1706, allocations: 205.9 kB / 0.5713 GB, free: 5.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 0.5713 GB, free: 5.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.171, allocations: 71.98 kB / 0.5714 GB, free: 5.426 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/0.1724, allocations: 0.8683 MB / 0.5722 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006366/0.1787, allocations: 0.5811 MB / 0.5728 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1787, allocations: 0 / 0.5728 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005669/0.1844, allocations: 499.4 kB / 0.5732 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1848, allocations: 53.09 kB / 0.5733 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.19, allocations: 2.979 MB / 0.5762 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1904, allocations: 0.7753 MB / 0.577 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.1906, allocations: 50.05 kB / 0.577 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1907, allocations: 67.41 kB / 0.5771 GB, free: 15.42 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1907, allocations: 7.938 kB / 0.5771 GB, free: 15.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.218, allocations: 8.032 MB / 0.5849 GB, free: 7.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.18, allocations: 8.656 kB / 0.5849 GB, free: 7.605 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.410117252031341] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 12.329136620042846 12.556555379 12.417489836 Calling exit ...