Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01122/0.01122, allocations: 165.3 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.785/1.785, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00199/0.00199, allocations: 103.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5657/0.5657, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006307, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.5953, allocations: 81.46 MB / 493.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.5957, allocations: 98.38 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03492/0.6307, allocations: 7.647 MB / 0.4892 GB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6307, allocations: 0 / 0.4892 GB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.6307, allocations: 0 / 0.4892 GB, free: 15.61 MB / 346.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.0007621/0.6315, allocations: 455.9 kB / 0.4896 GB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6316, allocations: 8.031 kB / 0.4896 GB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.6316, allocations: 45.42 kB / 0.4897 GB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.6317, allocations: 11.81 kB / 0.4897 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.6318, allocations: 174.2 kB / 0.4898 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6319, allocations: 6.938 kB / 0.4898 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.6319, allocations: 15.62 kB / 0.4899 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.6324, allocations: 141.8 kB / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6324, allocations: 0 / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.6324, allocations: 11.17 kB / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6325, allocations: 0 / 0.49 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.633, allocations: 153.4 kB / 0.4902 GB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.6342, allocations: 0.5301 MB / 0.4907 GB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.6346, allocations: 102.9 kB / 0.4908 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.6347, allocations: 4 kB / 0.4908 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6347, allocations: 30.56 kB / 0.4908 GB, free: 13.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.6347, allocations: 4 kB / 0.4908 GB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007738/0.6355, allocations: 182.8 kB / 0.491 GB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.6356, allocations: 51.41 kB / 0.491 GB, free: 13.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6357, allocations: 112.2 kB / 0.4911 GB, free: 13.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6357, allocations: 25.7 kB / 0.4912 GB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.6358, allocations: 111.1 kB / 0.4913 GB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.6359, allocations: 45.75 kB / 0.4913 GB, free: 13.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.6359, allocations: 3 kB / 0.4913 GB, free: 13.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6361, allocations: 314.5 kB / 0.4916 GB, free: 13.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.6363, allocations: 57.08 kB / 0.4917 GB, free: 13.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.6365, allocations: 79.06 kB / 0.4917 GB, free: 12.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.6368, allocations: 66.64 kB / 0.4918 GB, free: 12.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6368, allocations: 0 / 0.4918 GB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005862/0.6374, allocations: 169 kB / 0.492 GB, free: 12.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6374, allocations: 5.406 kB / 0.492 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6375, allocations: 4 kB / 0.492 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6375, allocations: 0 / 0.492 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.6379, allocations: 47.03 kB / 0.492 GB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004721/0.6384, allocations: 0.5965 MB / 0.4926 GB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6386, allocations: 11.34 kB / 0.4926 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.6386, allocations: 8 kB / 0.4926 GB, free: 12.11 MB / 346.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.0001516/0.6388, allocations: 133.4 kB / 0.4927 GB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.6389, allocations: 11.89 kB / 0.4928 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.6396, allocations: 184.9 kB / 0.4929 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6396, allocations: 4 kB / 0.4929 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6396, allocations: 0 / 0.4929 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6396, allocations: 4 kB / 0.4929 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.64, allocations: 206.5 kB / 0.4931 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.64, allocations: 3.938 kB / 0.4931 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.6404, allocations: 51.47 kB / 0.4932 GB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.6404, allocations: 0 / 0.4932 GB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.6404, allocations: 3.984 kB / 0.4932 GB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/0.6408, allocations: 0.5856 MB / 0.4938 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6408, allocations: 3.953 kB / 0.4938 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.6416, allocations: 311.1 kB / 0.4941 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.6418, allocations: 96.66 kB / 0.4942 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.6418, allocations: 0 / 0.4942 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.642, allocations: 15.67 kB / 0.4942 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.6421, allocations: 7.984 kB / 0.4942 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.6421, allocations: 12.02 kB / 0.4942 GB, free: 10.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.88e-05/0.6422, allocations: 90.95 kB / 0.4943 GB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6422, allocations: 0 / 0.4943 GB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.6428, allocations: 90.83 kB / 0.4944 GB, free: 10.32 MB / 346.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.001549/0.6444, allocations: 0.9437 MB / 0.4953 GB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.645, allocations: 125.9 kB / 0.4954 GB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6451, allocations: 4.062 kB / 0.4954 GB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.6454, allocations: 77.02 kB / 0.4955 GB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6457, allocations: 7.25 kB / 0.4955 GB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.6481, allocations: 1.579 MB / 0.497 GB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.6485, allocations: 0.7083 MB / 0.4977 GB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.6487, allocations: 24.47 kB / 0.4978 GB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.6488, allocations: 35.8 kB / 0.4978 GB, free: 6.875 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6488, allocations: 0 / 0.4978 GB, free: 6.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.6746, allocations: 3.719 MB / 0.5014 GB, free: 3.285 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003692/0.675, allocations: 249.3 kB / 0.5017 GB, free: 2.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.463, allocations: 0 / 0.5017 GB, free: 2.953 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat