Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01399/0.01399, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.232/2.232, allocations: 194.5 MB / 210.3 MB, free: 7.797 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002031/0.00203, allocations: 104.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3174/0.3174, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004597, allocations: 11.81 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 54.87 MB / 461.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5818, allocations: 87.98 MB / 0.5363 GB, free: 27.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.5822, allocations: 99.67 kB / 0.5364 GB, free: 27.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03757/0.6198, allocations: 7.645 MB / 0.5438 GB, free: 27.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6198, allocations: 0 / 0.5438 GB, free: 27.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.6199, allocations: 1.5 kB / 0.5438 GB, free: 27.23 MB / 378.7 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.0007053/0.6206, allocations: 452.3 kB / 0.5443 GB, free: 26.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6206, allocations: 9.75 kB / 0.5443 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.6207, allocations: 45.78 kB / 0.5443 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.6208, allocations: 17.83 kB / 0.5443 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6209, allocations: 171.6 kB / 0.5445 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6209, allocations: 8.156 kB / 0.5445 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.621, allocations: 12.41 kB / 0.5445 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.6214, allocations: 152 kB / 0.5447 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6214, allocations: 1.406 kB / 0.5447 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.6215, allocations: 3.75 kB / 0.5447 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.6215, allocations: 11.17 kB / 0.5447 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.622, allocations: 150.4 kB / 0.5448 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.6231, allocations: 0.5239 MB / 0.5453 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.6235, allocations: 109.5 kB / 0.5454 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.6236, allocations: 5.438 kB / 0.5455 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.6236, allocations: 31.59 kB / 0.5455 GB, free: 26.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.434e-06/0.6236, allocations: 0 / 0.5455 GB, free: 26.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007671/0.6244, allocations: 178 kB / 0.5457 GB, free: 25.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6245, allocations: 60.19 kB / 0.5457 GB, free: 25.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.6246, allocations: 103.4 kB / 0.5458 GB, free: 25.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.6246, allocations: 29.58 kB / 0.5458 GB, free: 25.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.6247, allocations: 116.8 kB / 0.5459 GB, free: 25.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6247, allocations: 36.25 kB / 0.546 GB, free: 25.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.6247, allocations: 12.34 kB / 0.546 GB, free: 25.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.6248, allocations: 320.6 kB / 0.5463 GB, free: 25.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.625, allocations: 46.7 kB / 0.5463 GB, free: 25.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6252, allocations: 83.5 kB / 0.5464 GB, free: 25.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.6255, allocations: 54.16 kB / 0.5465 GB, free: 25.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6255, allocations: 0 / 0.5465 GB, free: 25.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005586/0.6261, allocations: 171.4 kB / 0.5466 GB, free: 25.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6261, allocations: 6.5 kB / 0.5466 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6261, allocations: 1.5 kB / 0.5466 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6262, allocations: 2.781 kB / 0.5467 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.6266, allocations: 49.11 kB / 0.5467 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003071/0.6269, allocations: 0.5909 MB / 0.5473 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.6271, allocations: 17.56 kB / 0.5473 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.6271, allocations: 8.594 kB / 0.5473 GB, free: 24.64 MB / 378.7 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 (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6272, allocations: 128.7 kB / 0.5474 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.6273, allocations: 8.031 kB / 0.5474 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.628, allocations: 188 kB / 0.5476 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.628, allocations: 2.438 kB / 0.5476 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.628, allocations: 3.938 kB / 0.5476 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.628, allocations: 4 kB / 0.5476 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.6283, allocations: 206.9 kB / 0.5478 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6284, allocations: 0 / 0.5478 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.6287, allocations: 46.47 kB / 0.5479 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6287, allocations: 0 / 0.5479 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6288, allocations: 6.203 kB / 0.5479 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002413/0.629, allocations: 0.5857 MB / 0.5484 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.629, allocations: 0 / 0.5484 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.6298, allocations: 310 kB / 0.5487 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.6299, allocations: 105 kB / 0.5488 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.6299, allocations: 4.719 kB / 0.5488 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.6301, allocations: 9.203 kB / 0.5488 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.6302, allocations: 8.422 kB / 0.5489 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.6302, allocations: 11.58 kB / 0.5489 GB, free: 23.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.895e-05/0.6303, allocations: 89.42 kB / 0.549 GB, free: 23.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6303, allocations: 4.062 kB / 0.549 GB, free: 23.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005995/0.6309, allocations: 86.38 kB / 0.549 GB, free: 23.32 MB / 378.7 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 (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/0.6323, allocations: 0.9509 MB / 0.55 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.633, allocations: 127 kB / 0.5501 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.633, allocations: 0 / 0.5501 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.6333, allocations: 78.17 kB / 0.5502 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6336, allocations: 6.594 kB / 0.5502 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.636, allocations: 1.589 MB / 0.5517 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.6362, allocations: 0.7049 MB / 0.5524 GB, free: 20.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.6364, allocations: 20.86 kB / 0.5524 GB, free: 20.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.6365, allocations: 34.61 kB / 0.5525 GB, free: 20.62 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6365, allocations: 0 / 0.5525 GB, free: 20.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.6638, allocations: 3.723 MB / 0.5561 GB, free: 20.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/0.6642, allocations: 257.3 kB / 0.5563 GB, free: 19.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.328, allocations: 0 / 0.5563 GB, free: 19.79 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat