Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001936/0.001936, allocations: 147.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.156e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06916/0.06921, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.609/3.678, allocations: 1.435 GB / 1.636 GB, free: 3.266 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/3.678, allocations: 67.97 kB / 1.636 GB, free: 3.199 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Fluid/Interfaces.mo:725:9-730:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Fluid/Interfaces.mo:335:3-337: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 2.961/6.639, allocations: 0.6623 GB / 2.298 GB, free: 17.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/6.639, allocations: 3.625 kB / 2.298 GB, free: 17.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001086/6.639, allocations: 36.64 kB / 2.298 GB, free: 17.79 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01128/6.65, allocations: 2.501 MB / 2.3 GB, free: 16.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/6.651, allocations: 15.14 kB / 2.3 GB, free: 16.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/6.651, allocations: 153.1 kB / 2.301 GB, free: 16.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/6.653, allocations: 1.011 MB / 2.302 GB, free: 16.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/6.653, allocations: 89.52 kB / 2.302 GB, free: 16.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/6.654, allocations: 103.1 kB / 2.302 GB, free: 16.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/6.657, allocations: 2.019 MB / 2.304 GB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/6.657, allocations: 0 / 2.304 GB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/6.657, allocations: 47.86 kB / 2.304 GB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.954e-05/6.657, allocations: 87.73 kB / 2.304 GB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/6.661, allocations: 2.316 MB / 2.306 GB, free: 15.82 MB / 282.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01102/6.672, allocations: 9.044 MB / 2.315 GB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/6.674, allocations: 1.271 MB / 2.316 GB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/6.675, allocations: 0.6572 MB / 2.317 GB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5053/7.18, allocations: 135.1 MB / 2.449 GB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/7.18, allocations: 45.11 kB / 2.449 GB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008973/7.181, allocations: 201 kB / 2.449 GB, free: 5.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 3.466e-06/7.181, allocations: 0 / 2.449 GB, free: 5.004 MB / 314.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=152): time 0.04881/7.23, allocations: 9.958 MB / 2.459 GB, free: 4.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/7.23, allocations: 232.3 kB / 2.459 GB, free: 3.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/7.231, allocations: 0.7247 MB / 2.46 GB, free: 3.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/7.232, allocations: 51.33 kB / 2.46 GB, free: 3.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/7.232, allocations: 0.5889 MB / 2.46 GB, free: 3.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/7.233, allocations: 0.5082 MB / 2.461 GB, free: 3.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/7.233, allocations: 37.78 kB / 2.461 GB, free: 3.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/7.233, allocations: 370.3 kB / 2.461 GB, free: 2.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/7.235, allocations: 1.197 MB / 2.462 GB, free: 2.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/7.237, allocations: 1.64 MB / 2.464 GB, free: 2.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/7.239, allocations: 1.36 MB / 2.465 GB, free: 2.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/7.239, allocations: 4.531 kB / 2.465 GB, free: 2.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01341/7.252, allocations: 4.715 MB / 2.47 GB, free: 2.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/7.252, allocations: 11.75 kB / 2.47 GB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/7.252, allocations: 12.38 kB / 2.47 GB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03866/7.291, allocations: 5.755 MB / 2.476 GB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/7.293, allocations: 367 kB / 2.476 GB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/7.304, allocations: 9.375 MB / 2.485 GB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/7.307, allocations: 188.8 kB / 2.485 GB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004404/7.308, allocations: 129.8 kB / 2.485 GB, free: 11.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 11 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,orifice.state_b.phase,orifice.state_a.phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 19,5 31,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/7.308, allocations: 215.7 kB / 2.486 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/7.309, allocations: 136.1 kB / 2.486 GB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/7.321, allocations: 7.155 MB / 2.493 GB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/7.321, allocations: 55.08 kB / 2.493 GB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/7.321, allocations: 0 / 2.493 GB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/7.321, allocations: 7.172 kB / 2.493 GB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/7.338, allocations: 11.14 MB / 2.504 GB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/7.339, allocations: 0 / 2.504 GB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/7.34, allocations: 250.8 kB / 2.504 GB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2866/7.626, allocations: 6.722 MB / 2.51 GB, free: 64.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006872/7.627, allocations: 71.14 kB / 2.51 GB, free: 64.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/7.639, allocations: 10.05 MB / 2.52 GB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.639, allocations: 3.047 kB / 2.52 GB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009572/7.648, allocations: 6.009 MB / 2.526 GB, free: 57.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/7.65, allocations: 0.6286 MB / 2.527 GB, free: 57.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/7.65, allocations: 36.77 kB / 2.527 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/7.652, allocations: 185.3 kB / 2.527 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/7.653, allocations: 136.9 kB / 2.527 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/7.653, allocations: 79.02 kB / 2.527 GB, free: 57.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008775/7.654, allocations: 0.559 MB / 2.528 GB, free: 57.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/7.654, allocations: 0 / 2.528 GB, free: 57.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.008177/7.662, allocations: 1.964 MB / 2.53 GB, free: 57.59 MB / 330.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: 29 ($cse1.phase,$cse1.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse31.phase,$cse34.phase,$cse39.phase,$cse39.region,$cse42.phase,$cse42.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {5 17,1 1,6 42,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01039/7.672, allocations: 2.561 MB / 2.532 GB, free: 57.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01006/7.683, allocations: 4.105 MB / 2.536 GB, free: 57.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/7.683, allocations: 0.8125 kB / 2.536 GB, free: 57.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006955/7.69, allocations: 2.874 MB / 2.539 GB, free: 57.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/7.693, allocations: 0.5868 MB / 2.54 GB, free: 57.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/7.7, allocations: 4.077 MB / 2.543 GB, free: 56.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/7.701, allocations: 1.513 MB / 2.545 GB, free: 55.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001698/7.703, allocations: 487 kB / 2.545 GB, free: 55.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/7.703, allocations: 137.6 kB / 2.546 GB, free: 55.87 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/7.703, allocations: 1.531 kB / 2.546 GB, free: 55.87 MB / 330.7 MB Notification: Performance of Templates: time 0.3414/8.044, allocations: 90.47 MB / 2.634 GB, free: 63.04 MB / 330.7 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)