Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001297/0.001297, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.233/0.233, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002246, allocations: 81.02 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 62.46 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003263/0.1254, allocations: 1.686 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1269, allocations: 0.8374 MB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.127, allocations: 0 / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1272, allocations: 51.73 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1274, allocations: 51.73 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1277, allocations: 95.64 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1279, allocations: 155.2 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.1279, allocations: 13.11 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1282, allocations: 75.66 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1283, allocations: 75.67 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1284, allocations: 4 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.1287, allocations: 155.8 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1288, allocations: 39.84 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.1289, allocations: 59.61 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1292, allocations: 215.5 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1292, allocations: 0 / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1292, allocations: 0 / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1292, allocations: 0 / 483.7 MB, free: 1.586 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.000658/0.1299, allocations: 463 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.13, allocations: 12.03 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.13, allocations: 46.73 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.1305, allocations: 56.69 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1308, allocations: 216.1 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1308, allocations: 8.375 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1308, allocations: 15.94 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.1313, allocations: 237.5 kB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1313, allocations: 0 / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1314, allocations: 11.98 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.1314, allocations: 15.98 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.1319, allocations: 227.6 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1331, allocations: 0.7286 MB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1334, allocations: 94.44 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1335, allocations: 44.81 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1336, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1336, allocations: 42.5 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.1336, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005469/0.1342, allocations: 177.5 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1342, allocations: 51.41 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1344, allocations: 195.2 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1344, allocations: 25.7 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1346, allocations: 135.6 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1346, allocations: 27.64 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.1347, allocations: 33.7 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1348, allocations: 322.8 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.135, allocations: 51.94 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1352, allocations: 101.9 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1355, allocations: 158.7 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1355, allocations: 0 / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004192/0.136, allocations: 193.3 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.136, allocations: 7.984 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.136, allocations: 8 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.136, allocations: 3.938 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.137, allocations: 91.83 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1384, allocations: 1.813 MB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1386, allocations: 19.78 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1386, allocations: 11.98 kB / 489.3 MB, free: 11.61 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 (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.00014/0.1388, allocations: 141.7 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1388, allocations: 7.906 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.1393, allocations: 190.8 kB / 489.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1393, allocations: 0 / 489.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1393, allocations: 0 / 489.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1393, allocations: 3.984 kB / 489.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.1396, allocations: 225.5 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1396, allocations: 4 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007608/0.1404, allocations: 87.88 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1404, allocations: 0 / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1404, allocations: 0 / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1416, allocations: 1.777 MB / 491.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1416, allocations: 0 / 491.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.142, allocations: 243.5 kB / 492 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.1421, allocations: 104.8 kB / 492.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1421, allocations: 0 / 492.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1423, allocations: 11.92 kB / 492.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.1423, allocations: 8 kB / 492.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1424, allocations: 7.984 kB / 492.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1425, allocations: 135.9 kB / 492.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1425, allocations: 0 / 492.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1428, allocations: 47.91 kB / 492.3 MB, free: 8.469 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 (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.00079/0.1436, allocations: 0.7864 MB / 493.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.1449, allocations: 208.1 kB / 493.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1449, allocations: 0 / 493.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.1456, allocations: 104.1 kB / 493.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.146, allocations: 48.66 kB / 493.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1488, allocations: 2.115 MB / 495.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.1492, allocations: 0.7358 MB / 496.3 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1493, allocations: 33.34 kB / 496.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.1494, allocations: 43.42 kB / 496.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1494, allocations: 0 / 496.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.1791, allocations: 4.996 MB / 0.4896 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.74, allocations: 15.67 kB / 0.4896 GB, free: 15.43 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1)