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.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001286/0.001286, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 204.6 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247 MB, free: 10.46 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.3/0.3, allocations: 46.11 MB / 344.4 MB, free: 11.47 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.002205/0.002205, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3533, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003066/0.3564, allocations: 1.807 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3587, allocations: 1.392 MB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.3588, allocations: 1.375 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.359, allocations: 48.08 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3592, allocations: 51.88 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.3598, allocations: 251.4 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.36, allocations: 106.4 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.36, allocations: 5.906 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3602, allocations: 61.73 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.3603, allocations: 48.53 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3604, allocations: 4.688 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.3611, allocations: 0.4997 MB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3612, allocations: 17.92 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.3613, allocations: 45.86 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.3618, allocations: 368.1 kB / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3618, allocations: 0 / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3618, allocations: 0 / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3618, allocations: 0 / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005988/0.3624, allocations: 450.5 kB / 0.5356 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3625, allocations: 9.625 kB / 0.5356 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.3625, allocations: 46.86 kB / 0.5357 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3626, allocations: 18.31 kB / 0.5357 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3627, allocations: 184.3 kB / 0.5359 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3628, allocations: 9.875 kB / 0.5359 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.3628, allocations: 14.81 kB / 0.5359 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3631, allocations: 138.4 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3632, allocations: 0 / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3632, allocations: 5.375 kB / 0.536 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3632, allocations: 7.688 kB / 0.536 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.3635, allocations: 131.6 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.3644, allocations: 0.5139 MB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3647, allocations: 96.41 kB / 0.5368 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3649, allocations: 57.11 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3649, allocations: 6.359 kB / 0.5368 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3649, allocations: 39.62 kB / 0.5369 GB, free: 8.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3649, allocations: 0 / 0.5369 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000482/0.3654, allocations: 164.2 kB / 0.537 GB, free: 8.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3655, allocations: 57.69 kB / 0.5371 GB, free: 8.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.3656, allocations: 110 kB / 0.5372 GB, free: 8.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3656, allocations: 29.7 kB / 0.5372 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.3657, allocations: 117.5 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3657, allocations: 44.05 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.3658, allocations: 36.52 kB / 0.5374 GB, free: 7.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.366, allocations: 321 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3661, allocations: 41.28 kB / 0.5377 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3663, allocations: 83.11 kB / 0.5378 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3665, allocations: 127.4 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3666, allocations: 1.125 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003595/0.3669, allocations: 160.8 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.367, allocations: 6.656 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.367, allocations: 4.938 kB / 0.5381 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.367, allocations: 2.344 kB / 0.5381 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3672, allocations: 48.94 kB / 0.5382 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004103/0.3676, allocations: 0.5926 MB / 0.5387 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3677, allocations: 10.83 kB / 0.5387 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3678, allocations: 5.062 kB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3679, allocations: 135.2 kB / 0.5389 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3679, allocations: 6.984 kB / 0.5389 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.3683, allocations: 177 kB / 0.5391 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3684, allocations: 6.219 kB / 0.5391 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3684, allocations: 7.875 kB / 0.5391 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3684, allocations: 1 kB / 0.5391 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3686, allocations: 210.3 kB / 0.5393 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.3687, allocations: 0 / 0.5393 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.3689, allocations: 42.56 kB / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3689, allocations: 0 / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3689, allocations: 2.656 kB / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003401/0.3692, allocations: 0.5916 MB / 0.5399 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3693, allocations: 0 / 0.5399 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.3698, allocations: 299.6 kB / 0.5402 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.3698, allocations: 94.17 kB / 0.5403 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3699, allocations: 9.234 kB / 0.5403 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.37, allocations: 8.125 kB / 0.5403 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.37, allocations: 9.078 kB / 0.5403 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3701, allocations: 7.344 kB / 0.5403 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.3701, allocations: 94.83 kB / 0.5404 GB, free: 5.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3701, allocations: 1.094 kB / 0.5404 GB, free: 5.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.3705, allocations: 78.11 kB / 0.5405 GB, free: 5.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.3716, allocations: 0.9018 MB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.372, allocations: 126.9 kB / 0.5415 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.372, allocations: 0 / 0.5415 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3722, allocations: 72.58 kB / 0.5415 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3725, allocations: 20.12 kB / 0.5416 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3747, allocations: 1.729 MB / 0.5432 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.375, allocations: 0.7097 MB / 0.5439 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.94e-05/0.3751, allocations: 24.88 kB / 0.544 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.3752, allocations: 35.08 kB / 0.544 GB, free: 1.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3752, allocations: 5.031 kB / 0.544 GB, free: 1.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.4131, allocations: 3.895 MB / 0.5478 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 13.86 kB / 0.5478 GB, free: 15.78 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)