Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001203/0.001203, allocations: 96.83 kB / 16.99 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.001547/0.001547, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, 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.2071/0.2071, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002446, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1199, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002111/0.1221, allocations: 1.349 MB / 482.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1236, allocations: 0.8032 MB / 483.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.1237, allocations: 0 / 483.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1239, allocations: 31.83 kB / 483.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.124, allocations: 47.81 kB / 483.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1244, allocations: 91.75 kB / 483.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1246, allocations: 95.78 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.1246, allocations: 17.44 kB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.1247, allocations: 35.86 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.1248, allocations: 55.75 kB / 484.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1249, allocations: 4 kB / 484.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.1252, allocations: 199.7 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.1253, allocations: 31.91 kB / 484.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1253, allocations: 49.58 kB / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1256, allocations: 155.9 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1256, allocations: 4 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1256, allocations: 0 / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1256, allocations: 3.938 kB / 484.5 MB, free: 2.273 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006247/0.1263, allocations: 450.8 kB / 484.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1263, allocations: 8.031 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1264, allocations: 54.55 kB / 485 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.1275, allocations: 119.6 kB / 485.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1278, allocations: 218.8 kB / 485.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1279, allocations: 12 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1279, allocations: 15.98 kB / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.1286, allocations: 313.8 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1287, allocations: 0 / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.1287, allocations: 15.92 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.1287, allocations: 27.97 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.1296, allocations: 327.7 kB / 486 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1312, allocations: 0.8338 MB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.1319, allocations: 226.4 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.132, allocations: 8 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.132, allocations: 34.5 kB / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.132, allocations: 0 / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001008/0.133, allocations: 309.4 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1331, allocations: 55.41 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1333, allocations: 184.7 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.1333, allocations: 25.7 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.1334, allocations: 143.4 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1335, allocations: 39.48 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.1335, allocations: 4 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1336, allocations: 326.8 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1339, allocations: 87.91 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1342, allocations: 142.8 kB / 488.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1346, allocations: 96.23 kB / 488.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1346, allocations: 7.953 kB / 488.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007161/0.1353, allocations: 281 kB / 488.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1353, allocations: 10.56 kB / 488.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1353, allocations: 4 kB / 488.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1354, allocations: 4 kB / 488.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.1358, allocations: 83.84 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/0.1368, allocations: 1.789 MB / 490.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1371, allocations: 27.83 kB / 490.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1371, allocations: 11.98 kB / 490.7 MB, free: 11.69 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 (17): * Single equations (assignments): 14 * 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.0001464/0.1372, allocations: 152.5 kB / 490.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1373, allocations: 11.81 kB / 490.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.1381, allocations: 274.8 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1381, allocations: 4 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1381, allocations: 0 / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1381, allocations: 0 / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.1384, allocations: 253.5 kB / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1385, allocations: 4.047 kB / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.1388, allocations: 75.84 kB / 491.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1388, allocations: 4 kB / 491.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1389, allocations: 7.984 kB / 491.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.1401, allocations: 1.785 MB / 493.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1402, allocations: 0 / 493.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.1409, allocations: 327.2 kB / 493.6 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.141, allocations: 92.97 kB / 493.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.141, allocations: 4 kB / 493.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1413, allocations: 11.98 kB / 493.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.1413, allocations: 15.97 kB / 493.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.1414, allocations: 11.92 kB / 493.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1415, allocations: 144.8 kB / 493.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1415, allocations: 0 / 493.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.1419, allocations: 63.84 kB / 493.9 MB, free: 8.316 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 (10): * Single equations (assignments): 7 * 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.001196/0.1431, allocations: 0.8839 MB / 494.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.144, allocations: 248 kB / 495.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.144, allocations: 192 / 495.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.1445, allocations: 136 kB / 495.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1447, allocations: 15.94 kB / 495.2 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1473, allocations: 2.255 MB / 497.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1476, allocations: 0.7475 MB / 498.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.1478, allocations: 61.05 kB / 498.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.148, allocations: 51.39 kB / 498.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.148, allocations: 0 / 498.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1634, allocations: 4.312 MB / 0.4909 GB, free: 15.74 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.1637, allocations: 267.5 kB / 0.4911 GB, free: 15.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.959, allocations: 0 / 0.4911 GB, free: 15.38 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat