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.001352/0.001352, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.45 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.2698/0.2698, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.00363/0.003631, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.357, allocations: 62.46 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.004111/0.3612, allocations: 1.806 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3635, allocations: 1.391 MB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.3636, allocations: 1.094 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3639, allocations: 47.14 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.3642, allocations: 51.91 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.3648, allocations: 243.1 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.3651, allocations: 103.6 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.3651, allocations: 14.11 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.3654, allocations: 60.61 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3655, allocations: 52.8 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3655, allocations: 4.125 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000874/0.3664, allocations: 0.501 MB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.3665, allocations: 22.59 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.3665, allocations: 41.48 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.3671, allocations: 359.3 kB / 0.5352 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3672, allocations: 4 kB / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3672, allocations: 0 / 0.5352 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3672, 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.0006292/0.3678, allocations: 451.2 kB / 0.5356 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3679, allocations: 8.875 kB / 0.5356 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.3679, allocations: 47.14 kB / 0.5357 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.368, allocations: 15.27 kB / 0.5357 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.3682, allocations: 178.7 kB / 0.5359 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3682, allocations: 9.656 kB / 0.5359 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.3682, allocations: 20.31 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3685, allocations: 138 kB / 0.536 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3686, allocations: 0 / 0.536 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3686, allocations: 5.094 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3686, allocations: 3.281 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.3689, allocations: 140.3 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.3699, allocations: 0.518 MB / 0.5367 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3702, allocations: 96.38 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.3703, allocations: 52.83 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3703, allocations: 10.17 kB / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3704, allocations: 39.56 kB / 0.5369 GB, free: 8.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3704, allocations: 0 / 0.5369 GB, free: 8.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005126/0.3709, allocations: 165.1 kB / 0.537 GB, free: 8.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.371, allocations: 52.53 kB / 0.5371 GB, free: 8.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3711, allocations: 118.7 kB / 0.5372 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3711, allocations: 25.7 kB / 0.5372 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.3712, allocations: 116.8 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.3712, allocations: 40.41 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.3713, allocations: 40.89 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3715, allocations: 316 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3716, allocations: 42.34 kB / 0.5377 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3718, allocations: 83.17 kB / 0.5378 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.3721, allocations: 127 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3721, allocations: 1 kB / 0.538 GB, free: 7.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003736/0.3724, allocations: 160.8 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3725, allocations: 5.188 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3725, allocations: 2.156 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3725, allocations: 5.688 kB / 0.5381 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3727, allocations: 49.84 kB / 0.5382 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004815/0.3732, allocations: 0.5893 MB / 0.5387 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3733, allocations: 9.984 kB / 0.5387 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3734, allocations: 9.594 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.0001215/0.3735, allocations: 130.1 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3735, allocations: 7.359 kB / 0.5389 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.374, allocations: 177.7 kB / 0.5391 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.374, allocations: 1.219 kB / 0.5391 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.374, allocations: 9.094 kB / 0.5391 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.374, allocations: 0 / 0.5391 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3743, allocations: 210.5 kB / 0.5393 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3743, allocations: 3.938 kB / 0.5393 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.3745, allocations: 41.47 kB / 0.5393 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3745, allocations: 1.125 kB / 0.5393 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3745, allocations: 2.281 kB / 0.5393 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003671/0.3749, allocations: 0.5943 MB / 0.5399 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3749, allocations: 1.031 kB / 0.5399 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3754, allocations: 298.7 kB / 0.5402 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.3755, allocations: 94.27 kB / 0.5403 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3756, allocations: 9.109 kB / 0.5403 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3757, allocations: 12.31 kB / 0.5403 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.3757, allocations: 13.45 kB / 0.5403 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3757, allocations: 3.219 kB / 0.5403 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.3758, allocations: 94.64 kB / 0.5404 GB, free: 5.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3758, allocations: 0 / 0.5404 GB, free: 5.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.3763, allocations: 78.23 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.001099/0.3774, allocations: 0.9101 MB / 0.5414 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3778, allocations: 126.5 kB / 0.5415 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3778, allocations: 0 / 0.5415 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.378, allocations: 76.61 kB / 0.5416 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3784, allocations: 7.156 kB / 0.5416 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3808, allocations: 1.72 MB / 0.5432 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3812, allocations: 0.7106 MB / 0.5439 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.415e-05/0.3813, allocations: 25.16 kB / 0.544 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3813, allocations: 35.3 kB / 0.544 GB, free: 1.965 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3813, allocations: 0 / 0.544 GB, free: 1.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.4141, allocations: 3.914 MB / 0.5478 GB, free: 15.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 9.203 kB / 0.5478 GB, free: 15.75 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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)