Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.0008257/0.0008256, allocations: 98.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008414/0.0008414, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002804, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 63.48 MB / 481.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001873/0.1211, allocations: 1.381 MB / 483 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1222, allocations: 0.7641 MB / 483.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.1223, allocations: 4 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1225, allocations: 27.83 kB / 483.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1227, allocations: 51.8 kB / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1229, allocations: 67.72 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1231, allocations: 187.2 kB / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.1232, allocations: 17.11 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1233, allocations: 63.77 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1235, allocations: 71.69 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1235, allocations: 4 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.1238, allocations: 147.8 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1239, allocations: 43.83 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1239, allocations: 45.64 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1241, allocations: 147.8 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1241, allocations: 4 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1241, allocations: 0 / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1241, allocations: 0 / 484.7 MB, free: 2.168 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005166/0.1247, allocations: 438.8 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1247, allocations: 12.03 kB / 485.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.1248, allocations: 46.55 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.1252, allocations: 75.62 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1254, allocations: 202.9 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1254, allocations: 15.98 kB / 485.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1255, allocations: 11.94 kB / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1259, allocations: 239.1 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.126, allocations: 0 / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.126, allocations: 11.98 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.126, allocations: 15.98 kB / 485.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.1264, allocations: 231.8 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1275, allocations: 0.7362 MB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1277, allocations: 94.5 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1278, allocations: 48.83 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1279, allocations: 0 / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1279, allocations: 38.55 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1279, allocations: 0 / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004908/0.1284, allocations: 185.8 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1284, allocations: 51.41 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1286, allocations: 200.6 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1287, allocations: 25.7 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.1288, allocations: 127.7 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1288, allocations: 23.66 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.1288, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.129, allocations: 322.8 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1291, allocations: 59.94 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1293, allocations: 106.2 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1294, allocations: 71.83 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1294, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003741/0.1298, allocations: 201.2 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1299, allocations: 4 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1299, allocations: 7.938 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1299, allocations: 7.984 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.1307, allocations: 108.1 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.1321, allocations: 1.809 MB / 490.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1323, allocations: 23.72 kB / 490.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1323, allocations: 11.98 kB / 490.2 MB, free: 12.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001681/0.1325, allocations: 146 kB / 490.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1325, allocations: 7.906 kB / 490.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.133, allocations: 194.8 kB / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1331, allocations: 0 / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1331, allocations: 0 / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1331, allocations: 4 kB / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1334, allocations: 221.6 kB / 490.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1334, allocations: 4 kB / 490.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.134, allocations: 99.88 kB / 490.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.134, allocations: 4 kB / 490.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1341, allocations: 3.938 kB / 490.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1353, allocations: 1.774 MB / 492.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1353, allocations: 8.016 kB / 492.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.1357, allocations: 251.5 kB / 492.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.1358, allocations: 96.89 kB / 493 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1359, allocations: 0 / 493 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.136, allocations: 15.98 kB / 493 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.1361, allocations: 8 kB / 493 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1361, allocations: 4 kB / 493 MB, free: 9.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1362, allocations: 144.8 kB / 493.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1363, allocations: 0 / 493.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1366, allocations: 43.91 kB / 493.2 MB, free: 9.133 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 (11): * Single equations (assignments): 8 * 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.0007322/0.1374, allocations: 0.8021 MB / 494 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1385, allocations: 236 kB / 494.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1385, allocations: 0 / 494.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.1391, allocations: 115.8 kB / 494.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.1395, allocations: 35.91 kB / 494.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1413, allocations: 1.049 MB / 495.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1416, allocations: 0.7436 MB / 496.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.1418, allocations: 29.41 kB / 496.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.1419, allocations: 45.45 kB / 496.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1419, allocations: 0 / 496.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1573, allocations: 4.555 MB / 0.489 GB, free: 1.699 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.1575, allocations: 286.9 kB / 0.4893 GB, free: 1.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.084, allocations: 0 / 0.4893 GB, free: 1.336 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat