Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.009756/0.009761, allocations: 173.8 kB / 15.12 MB, free: 5.934 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 1.936/1.936, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002024/0.002024, allocations: 112.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.2521/0.2521, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 11.16 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 54.88 MB / 461.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.233, allocations: 329.9 MB / 0.7725 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/1.233, allocations: 89.62 kB / 0.7726 GB, free: 115.7 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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 1.873/3.107, allocations: 333.5 MB / 1.098 GB, free: 64.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/3.107, allocations: 0 / 1.098 GB, free: 64.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001849/3.107, allocations: 39.14 kB / 1.098 GB, free: 64.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.007935/3.115, allocations: 1.967 MB / 1.1 GB, free: 63.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/3.115, allocations: 11.95 kB / 1.1 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008128/3.116, allocations: 164.1 kB / 1.1 GB, free: 63.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/3.117, allocations: 174.8 kB / 1.101 GB, free: 63.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/3.123, allocations: 1.125 MB / 1.102 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/3.123, allocations: 71.64 kB / 1.102 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/3.123, allocations: 93.81 kB / 1.102 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/3.128, allocations: 1.463 MB / 1.103 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/3.128, allocations: 5.344 kB / 1.103 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/3.128, allocations: 48.11 kB / 1.103 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/3.128, allocations: 52.48 kB / 1.103 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006908/3.135, allocations: 1.321 MB / 1.105 GB, free: 63.11 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/3.158, allocations: 6.68 MB / 1.111 GB, free: 59.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/3.16, allocations: 0.4924 MB / 1.112 GB, free: 59.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04303/3.203, allocations: 17.03 MB / 1.128 GB, free: 42.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008552/3.204, allocations: 282.6 kB / 1.129 GB, free: 42.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 4.409e-06/3.204, allocations: 1.031 kB / 1.129 GB, free: 42.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.002929/3.207, allocations: 0.7531 MB / 1.129 GB, free: 42.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/3.207, allocations: 267.4 kB / 1.129 GB, free: 42.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/3.21, allocations: 1.015 MB / 1.13 GB, free: 42.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/3.211, allocations: 33.77 kB / 1.131 GB, free: 41.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009787/3.212, allocations: 0.7831 MB / 1.131 GB, free: 41.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/3.212, allocations: 152 kB / 1.131 GB, free: 41.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/3.212, allocations: 26.59 kB / 1.131 GB, free: 41.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/3.212, allocations: 356.8 kB / 1.132 GB, free: 41.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/3.213, allocations: 266.9 kB / 1.132 GB, free: 41.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/3.215, allocations: 0.9524 MB / 1.133 GB, free: 40.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/3.216, allocations: 474.9 kB / 1.133 GB, free: 40.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/3.216, allocations: 7.125 kB / 1.133 GB, free: 40.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004761/3.221, allocations: 1.304 MB / 1.135 GB, free: 40.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002826/3.224, allocations: 9.088 MB / 1.144 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/3.224, allocations: 21.97 kB / 1.144 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.939e-05/3.224, allocations: 37.36 kB / 1.144 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/3.23, allocations: 428.4 kB / 1.144 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/3.231, allocations: 1.272 MB / 1.145 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/3.234, allocations: 192.5 kB / 1.145 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004972/3.235, allocations: 86 kB / 1.146 GB, free: 29.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/3.235, allocations: 3.812 kB / 1.146 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00414/3.239, allocations: 1.14 MB / 1.147 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-05/3.239, allocations: 22.09 kB / 1.147 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/3.239, allocations: 32.22 kB / 1.147 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/3.242, allocations: 322 kB / 1.147 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/3.242, allocations: 0.633 MB / 1.148 GB, free: 28.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/3.245, allocations: 146.2 kB / 1.148 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/3.245, allocations: 78.25 kB / 1.148 GB, free: 28.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001159/3.247, allocations: 451.6 kB / 1.148 GB, free: 28.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/3.247, allocations: 121.3 kB / 1.148 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/3.251, allocations: 1.204 MB / 1.15 GB, free: 28.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/3.251, allocations: 7.125 kB / 1.15 GB, free: 28.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/3.251, allocations: 3.953 kB / 1.15 GB, free: 28.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/3.251, allocations: 5.266 kB / 1.15 GB, free: 28.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/3.255, allocations: 1.793 MB / 1.151 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/3.256, allocations: 0 / 1.151 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/3.259, allocations: 242.8 kB / 1.152 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/3.259, allocations: 3.688 kB / 1.152 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/3.259, allocations: 21.62 kB / 1.152 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007073/3.26, allocations: 1.229 MB / 1.153 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.26, allocations: 5.734 kB / 1.153 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/3.262, allocations: 0.8323 MB / 1.154 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/3.263, allocations: 250.1 kB / 1.154 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/3.263, allocations: 18.72 kB / 1.154 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/3.264, allocations: 44.08 kB / 1.154 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/3.264, allocations: 42.06 kB / 1.154 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/3.264, allocations: 29.14 kB / 1.154 GB, free: 26.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001558/3.266, allocations: 0.7954 MB / 1.155 GB, free: 26.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.634e-06/3.266, allocations: 0 / 1.155 GB, free: 26.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006392/3.272, allocations: 1.347 MB / 1.156 GB, free: 26.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008111/3.28, allocations: 2.67 MB / 1.159 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007426/3.288, allocations: 1.707 MB / 1.16 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/3.288, allocations: 1.25 kB / 1.16 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/3.293, allocations: 0.5743 MB / 1.161 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/3.296, allocations: 405.3 kB / 1.161 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/3.314, allocations: 20.12 MB / 1.181 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/3.316, allocations: 1.199 MB / 1.182 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003003/3.319, allocations: 463.7 kB / 1.183 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/3.32, allocations: 0.5151 MB / 1.183 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.605e-06/3.32, allocations: 0 / 1.183 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/3.43, allocations: 42.87 MB / 1.225 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/3.43, allocations: 266 kB / 1.225 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/7.856, allocations: 1.688 kB / 1.225 GB, free: 34.95 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat