Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",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.01498/0.01499, allocations: 164.2 kB / 15.11 MB, free: 6 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.609/1.609, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.001954/0.001954, allocations: 99.39 kB / 226.2 MB, free: 10.09 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.4325/0.4325, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004882, allocations: 8 kB / 363 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 48.7 MB / 411.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9357/1.037, allocations: 277.4 MB / 0.6729 GB, free: 68.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.037, allocations: 85.14 kB / 0.673 GB, free: 68.14 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 0.6456/1.683, allocations: 116.2 MB / 0.7865 GB, free: 101.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.683, allocations: 0 / 0.7865 GB, free: 101.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.018e-05/1.683, allocations: 19.91 kB / 0.7866 GB, free: 101.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002419/1.685, allocations: 0.9287 MB / 0.7875 GB, free: 100.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.686, allocations: 9.062 kB / 0.7875 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/1.686, allocations: 90.41 kB / 0.7876 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/1.686, allocations: 77.66 kB / 0.7876 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/1.688, allocations: 0.5504 MB / 0.7882 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/1.688, allocations: 31.88 kB / 0.7882 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.688, allocations: 43.69 kB / 0.7882 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.69, allocations: 0.6431 MB / 0.7889 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.69, allocations: 1.062 kB / 0.7889 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/1.69, allocations: 22.81 kB / 0.7889 GB, free: 99.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/1.69, allocations: 11.59 kB / 0.7889 GB, free: 99.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/1.691, allocations: 0.5045 MB / 0.7894 GB, free: 99.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/1.696, allocations: 3.072 MB / 0.7924 GB, free: 97.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/1.696, allocations: 184.4 kB / 0.7926 GB, free: 96.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.698, allocations: 1.017 MB / 0.7936 GB, free: 96.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/1.698, allocations: 172.8 kB / 0.7937 GB, free: 96.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/1.699, allocations: 0 / 0.7937 GB, free: 96.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001135/1.7, allocations: 454.6 kB / 0.7942 GB, free: 95.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/1.7, allocations: 158.3 kB / 0.7943 GB, free: 95.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/1.7, allocations: 436.6 kB / 0.7947 GB, free: 95.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/1.701, allocations: 36.36 kB / 0.7948 GB, free: 95.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/1.701, allocations: 367.1 kB / 0.7951 GB, free: 95.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/1.701, allocations: 86.59 kB / 0.7952 GB, free: 94.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/1.701, allocations: 9.719 kB / 0.7952 GB, free: 94.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/1.701, allocations: 359 kB / 0.7956 GB, free: 94.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.701, allocations: 108.1 kB / 0.7957 GB, free: 94.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/1.702, allocations: 393.3 kB / 0.796 GB, free: 94.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/1.702, allocations: 202.5 kB / 0.7962 GB, free: 94.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.702, allocations: 3.625 kB / 0.7962 GB, free: 94.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001396/1.704, allocations: 0.584 MB / 0.7968 GB, free: 93.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007616/1.704, allocations: 3.689 MB / 0.8004 GB, free: 89.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.705, allocations: 11.62 kB / 0.8004 GB, free: 89.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/1.705, allocations: 16.84 kB / 0.8004 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.707, allocations: 189.4 kB / 0.8006 GB, free: 89.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/1.707, allocations: 0.6222 MB / 0.8012 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/1.708, allocations: 74.14 kB / 0.8013 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.708, allocations: 46.58 kB / 0.8013 GB, free: 89.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.708, allocations: 3.625 kB / 0.8013 GB, free: 89.19 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/1.709, allocations: 0.5173 MB / 0.8018 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.709, allocations: 8.344 kB / 0.8018 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.709, allocations: 24.05 kB / 0.8019 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/1.71, allocations: 125.9 kB / 0.802 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.71, allocations: 17.16 kB / 0.802 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.711, allocations: 52.73 kB / 0.8021 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/1.711, allocations: 35.78 kB / 0.8021 GB, free: 88.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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.0004961/1.711, allocations: 318.7 kB / 0.8024 GB, free: 88.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.712, allocations: 54.59 kB / 0.8024 GB, free: 88.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/1.713, allocations: 0.6404 MB / 0.8031 GB, free: 88.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.713, allocations: 3.656 kB / 0.8031 GB, free: 88.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.713, allocations: 3.656 kB / 0.8031 GB, free: 88.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.713, allocations: 0 / 0.8031 GB, free: 88.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/1.714, allocations: 473.4 kB / 0.8035 GB, free: 88.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.714, allocations: 3.953 kB / 0.8035 GB, free: 88.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/1.715, allocations: 111.3 kB / 0.8036 GB, free: 88.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.715, allocations: 3.688 kB / 0.8036 GB, free: 88.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.715, allocations: 10.83 kB / 0.8037 GB, free: 88.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003068/1.716, allocations: 0.591 MB / 0.8042 GB, free: 87.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.716, allocations: 0 / 0.8042 GB, free: 87.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/1.717, allocations: 416.8 kB / 0.8046 GB, free: 87.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/1.717, allocations: 182.3 kB / 0.8048 GB, free: 87.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.717, allocations: 7.781 kB / 0.8048 GB, free: 87.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/1.717, allocations: 23.08 kB / 0.8048 GB, free: 87.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/1.717, allocations: 22.16 kB / 0.8049 GB, free: 87.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/1.718, allocations: 22.48 kB / 0.8049 GB, free: 87.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005588/1.718, allocations: 346.5 kB / 0.8052 GB, free: 86.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.718, allocations: 0 / 0.8052 GB, free: 86.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001965/1.72, allocations: 426 kB / 0.8056 GB, free: 86.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.00218/1.722, allocations: 1.288 MB / 0.8069 GB, free: 85.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003195/1.726, allocations: 0.7733 MB / 0.8076 GB, free: 85.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.726, allocations: 0 / 0.8076 GB, free: 85.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.727, allocations: 292.2 kB / 0.8079 GB, free: 85.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.729, allocations: 177.4 kB / 0.8081 GB, free: 85.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/1.737, allocations: 9.462 MB / 0.8173 GB, free: 77.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/1.737, allocations: 0.8985 MB / 0.8182 GB, free: 76.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001099/1.738, allocations: 187.4 kB / 0.8184 GB, free: 76.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.738, allocations: 219.5 kB / 0.8186 GB, free: 76.49 MB / 426.7 MB Notification: Performance of SimCode: time 2.385e-06/1.738, allocations: 0 / 0.8186 GB, free: 76.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05658/1.795, allocations: 17.36 MB / 0.8355 GB, free: 70.88 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.795, allocations: 263.7 kB / 0.8358 GB, free: 70.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/4.85, allocations: 0 / 0.8358 GB, free: 70.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat