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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 99.86 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 63.47 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002033/0.1345, allocations: 1.517 MB / 483.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1355, allocations: 0.5768 MB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.1356, allocations: 0 / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1359, allocations: 43.77 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.136, allocations: 67.58 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1363, allocations: 91.7 kB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.1367, allocations: 270.6 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.1367, allocations: 28.3 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.1368, allocations: 75.59 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.137, allocations: 111.5 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.137, allocations: 4 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.1374, allocations: 219.7 kB / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1374, allocations: 47.77 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1375, allocations: 65.56 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1378, allocations: 223.7 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1378, allocations: 0 / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1378, allocations: 0 / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1378, allocations: 0 / 485 MB, free: 1.879 MB / 350.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.000615/0.1384, allocations: 499.2 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1385, allocations: 11.97 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.629e-05/0.1386, allocations: 66.53 kB / 485.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.1402, allocations: 211.2 kB / 485.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1406, allocations: 258.8 kB / 486 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1406, allocations: 16.56 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.1407, allocations: 23.98 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.1416, allocations: 0.4926 MB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1416, allocations: 4 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1417, allocations: 15.98 kB / 486.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.1417, allocations: 28.53 kB / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1429, allocations: 0.5955 MB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1451, allocations: 1.169 MB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.1457, allocations: 178.3 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.146, allocations: 92.77 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1461, allocations: 0 / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1461, allocations: 30.56 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1461, allocations: 0 / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001137/0.1473, allocations: 321.3 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1473, allocations: 55.36 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.1476, allocations: 286.4 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1477, allocations: 29.7 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1478, allocations: 167.5 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1478, allocations: 27.64 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.1479, allocations: 0 / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.148, allocations: 330.8 kB / 489.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.1484, allocations: 95.89 kB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1487, allocations: 119.3 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.149, allocations: 107.8 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1491, allocations: 0 / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007545/0.1498, allocations: 269.3 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1498, allocations: 8 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1499, allocations: 0 / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1499, allocations: 7.984 kB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00532/0.1552, allocations: 463.2 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.1579, allocations: 1.965 MB / 492.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.1583, allocations: 47.72 kB / 492.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1583, allocations: 11.98 kB / 492.9 MB, free: 9.602 MB / 366.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.1585, allocations: 145.8 kB / 493 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.1586, allocations: 19.81 kB / 493.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.1587, allocations: 33.7 kB / 493.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1587, allocations: 0 / 493.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1587, allocations: 0 / 493.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1587, allocations: 3.953 kB / 493.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1591, allocations: 289.4 kB / 493.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1591, allocations: 0 / 493.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005106/0.1643, allocations: 463.2 kB / 493.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1643, allocations: 0 / 493.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1643, allocations: 7.984 kB / 493.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.1667, allocations: 1.941 MB / 495.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.1667, allocations: 3.984 kB / 495.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.1675, allocations: 327.1 kB / 496.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.1676, allocations: 92.91 kB / 496.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.1676, allocations: 0 / 496.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.168, allocations: 27.97 kB / 496.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.168, allocations: 11.92 kB / 496.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1681, allocations: 7.984 kB / 496.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1683, allocations: 205.9 kB / 496.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1683, allocations: 96 / 496.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1687, allocations: 79.78 kB / 496.5 MB, free: 5.812 MB / 366.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.1698, allocations: 0.8769 MB / 497.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.1752, allocations: 0.6046 MB / 498 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1752, allocations: 0 / 498 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004997/0.1802, allocations: 0.5033 MB / 498.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.1807, allocations: 47.72 kB / 498.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.1836, allocations: 1.69 MB / 0.4885 GB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1839, allocations: 0.7792 MB / 0.4893 GB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.1841, allocations: 54.05 kB / 0.4893 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1842, allocations: 63.41 kB / 0.4894 GB, free: 1.078 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1842, allocations: 4 kB / 0.4894 GB, free: 1.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.2045, allocations: 7.23 MB / 0.4965 GB, free: 10.14 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.2047, allocations: 282.8 kB / 0.4967 GB, free: 9.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.351, allocations: 0 / 0.4967 GB, free: 9.781 MB / 382.1 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat