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.001519/0.001519, allocations: 100.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.000225, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1143, allocations: 63.47 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002104/0.1165, allocations: 1.358 MB / 482.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1178, allocations: 0.7446 MB / 483.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.1179, allocations: 0 / 483.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1181, allocations: 27.89 kB / 483.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1182, allocations: 39.86 kB / 483.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1185, allocations: 75.77 kB / 483.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1187, allocations: 103.8 kB / 483.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.1188, allocations: 13.11 kB / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1189, allocations: 51.77 kB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1191, allocations: 51.83 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1191, allocations: 4 kB / 484 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.1194, allocations: 155.7 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.1194, allocations: 35.89 kB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1195, allocations: 49.64 kB / 484.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1197, allocations: 128 kB / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1197, allocations: 0 / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1197, allocations: 0 / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1197, allocations: 0 / 484.4 MB, free: 2.402 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.0005153/0.1203, allocations: 446.8 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1203, allocations: 8.031 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.1204, allocations: 54.53 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.1208, allocations: 67.69 kB / 484.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.121, allocations: 206.9 kB / 485.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1211, allocations: 8 kB / 485.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1211, allocations: 12 kB / 485.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1215, allocations: 239 kB / 485.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1215, allocations: 3.938 kB / 485.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1216, allocations: 8 kB / 485.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.1216, allocations: 23.92 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.122, allocations: 231.8 kB / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009998/0.123, allocations: 0.7362 MB / 486.4 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1232, allocations: 98.44 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1233, allocations: 0 / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1233, allocations: 30.56 kB / 486.5 MB, free: 48 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1233, allocations: 4 kB / 486.5 MB, free: 44 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005296/0.1238, allocations: 177.5 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1239, allocations: 51.41 kB / 486.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1241, allocations: 196.5 kB / 486.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1241, allocations: 25.7 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.1242, allocations: 135.8 kB / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1242, allocations: 27.62 kB / 487.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.1242, allocations: 4 kB / 487.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1243, allocations: 322.8 kB / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1245, allocations: 51.95 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1246, allocations: 103.1 kB / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1248, allocations: 71.94 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1248, allocations: 3.953 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003667/0.1252, allocations: 197.2 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1252, allocations: 4 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1252, allocations: 4 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1253, allocations: 4 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.1261, allocations: 108 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.1273, allocations: 1.809 MB / 489.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1274, allocations: 27.8 kB / 489.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1274, allocations: 8 kB / 489.8 MB, free: 12.59 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.0001265/0.1276, allocations: 145.7 kB / 490 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1276, allocations: 15.94 kB / 490 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.1281, allocations: 190.8 kB / 490.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1281, allocations: 3.984 kB / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1281, allocations: 0 / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1281, allocations: 0 / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.1283, allocations: 229.6 kB / 490.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1283, allocations: 3.953 kB / 490.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.129, allocations: 103.8 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.129, allocations: 0 / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1291, allocations: 12 kB / 490.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008614/0.1299, allocations: 1.774 MB / 492.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1299, allocations: 0 / 492.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.1303, allocations: 259.5 kB / 492.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1304, allocations: 92.91 kB / 492.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1304, allocations: 0 / 492.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1306, allocations: 15.98 kB / 492.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.1306, allocations: 7.984 kB / 492.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1306, allocations: 8 kB / 492.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1308, allocations: 144.8 kB / 492.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 492.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.1311, allocations: 43.91 kB / 492.8 MB, free: 9.406 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.0006829/0.1318, allocations: 0.7964 MB / 493.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1329, allocations: 228.1 kB / 493.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1329, allocations: 0 / 493.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.1336, allocations: 119.8 kB / 494 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1339, allocations: 31.97 kB / 494 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1357, allocations: 2.091 MB / 496.1 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1361, allocations: 0.7475 MB / 496.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.1362, allocations: 37.34 kB / 496.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.1363, allocations: 39.42 kB / 496.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1363, allocations: 0 / 496.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.1516, allocations: 4.539 MB / 0.4897 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.1519, allocations: 275 kB / 0.49 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.018, allocations: 0 / 0.49 GB, free: 0.5781 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