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.7653/0.7653, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001679/0.001679, allocations: 146.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.262/3.431, allocations: 1.435 GB / 1.64 GB, free: 39.99 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/3.431, allocations: 69.53 kB / 1.64 GB, free: 39.96 MB / 234.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.562/5.993, allocations: 0.6646 GB / 2.305 GB, free: 16.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/5.993, allocations: 0 / 2.305 GB, free: 16.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.925e-05/5.993, allocations: 38.08 kB / 2.305 GB, free: 16.7 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.009031/6.002, allocations: 2.645 MB / 2.307 GB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/6.002, allocations: 8.938 kB / 2.307 GB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/6.003, allocations: 150.3 kB / 2.308 GB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/6.005, allocations: 1.016 MB / 2.309 GB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/6.005, allocations: 94.45 kB / 2.309 GB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/6.005, allocations: 99.73 kB / 2.309 GB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/6.008, allocations: 2.102 MB / 2.311 GB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/6.008, allocations: 4.875 kB / 2.311 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/6.008, allocations: 47.42 kB / 2.311 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-05/6.008, allocations: 83.81 kB / 2.311 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/6.013, allocations: 2.5 MB / 2.313 GB, free: 14.68 MB / 282.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.01047/6.023, allocations: 9.053 MB / 2.322 GB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/6.026, allocations: 1.431 MB / 2.324 GB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3712/6.397, allocations: 134.3 MB / 2.455 GB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/6.397, allocations: 50.41 kB / 2.455 GB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/6.399, allocations: 196.1 kB / 2.455 GB, free: 4.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 8.856e-06/6.399, allocations: 0 / 2.455 GB, free: 4.852 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.07773/6.476, allocations: 14.76 MB / 2.469 GB, free: 19.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/6.476, allocations: 229.2 kB / 2.47 GB, free: 19.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/6.478, allocations: 0.739 MB / 2.47 GB, free: 18.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000424/6.478, allocations: 50.77 kB / 2.47 GB, free: 18.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/6.479, allocations: 0.5897 MB / 2.471 GB, free: 18.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006966/6.48, allocations: 0.5081 MB / 2.472 GB, free: 18.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/6.48, allocations: 33.22 kB / 2.472 GB, free: 18.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/6.48, allocations: 371 kB / 2.472 GB, free: 18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/6.483, allocations: 1.401 MB / 2.473 GB, free: 17.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/6.486, allocations: 1.849 MB / 2.475 GB, free: 17.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/6.489, allocations: 1.55 MB / 2.477 GB, free: 17.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/6.489, allocations: 9.219 kB / 2.477 GB, free: 17.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0166/6.505, allocations: 5.283 MB / 2.482 GB, free: 17.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/6.506, allocations: 10.81 kB / 2.482 GB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/6.506, allocations: 11.12 kB / 2.482 GB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04143/6.547, allocations: 6.126 MB / 2.488 GB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/6.549, allocations: 361 kB / 2.488 GB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/6.562, allocations: 9.849 MB / 2.498 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/6.565, allocations: 199.8 kB / 2.498 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/6.565, allocations: 123 kB / 2.498 GB, free: 9.793 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 () * Number of clocked 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.001014/6.566, allocations: 408.6 kB / 2.498 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/6.567, allocations: 130.4 kB / 2.499 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/6.58, allocations: 7.715 MB / 2.506 GB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/6.58, allocations: 53.06 kB / 2.506 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/6.58, allocations: 0 / 2.506 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/6.58, allocations: 11.91 kB / 2.506 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.174/6.754, allocations: 11.82 MB / 2.518 GB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/6.754, allocations: 1.188 kB / 2.518 GB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/6.756, allocations: 249.3 kB / 2.518 GB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03284/6.788, allocations: 6.436 MB / 2.524 GB, free: 61.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004173/6.789, allocations: 67.16 kB / 2.524 GB, free: 61.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/6.801, allocations: 10.52 MB / 2.535 GB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/6.801, allocations: 0.5156 kB / 2.535 GB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/6.813, allocations: 6.579 MB / 2.541 GB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/6.814, allocations: 0.6277 MB / 2.542 GB, free: 54.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/6.814, allocations: 31.75 kB / 2.542 GB, free: 54.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/6.816, allocations: 186.8 kB / 2.542 GB, free: 54.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/6.817, allocations: 133 kB / 2.542 GB, free: 54.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/6.817, allocations: 84.95 kB / 2.542 GB, free: 54.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006819/6.818, allocations: 0.5732 MB / 2.543 GB, free: 54.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/6.818, allocations: 1.5 kB / 2.543 GB, free: 54.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005939/6.823, allocations: 1.964 MB / 2.544 GB, free: 54.64 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 () * Number of clocked 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.008835/6.832, allocations: 2.552 MB / 2.547 GB, free: 54.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/6.844, allocations: 4.514 MB / 2.551 GB, free: 54.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/6.844, allocations: 0.875 kB / 2.551 GB, free: 54.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007312/6.851, allocations: 3.078 MB / 2.554 GB, free: 54.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/6.854, allocations: 0.6029 MB / 2.555 GB, free: 54.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007652/6.862, allocations: 5.848 MB / 2.561 GB, free: 52.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/6.863, allocations: 1.513 MB / 2.562 GB, free: 51.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001738/6.864, allocations: 476.5 kB / 2.563 GB, free: 51.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/6.865, allocations: 141.5 kB / 2.563 GB, free: 51.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/6.865, allocations: 0 / 2.563 GB, free: 51.68 MB / 330.7 MB Notification: Performance of Templates: time 0.2712/7.136, allocations: 87.54 MB / 2.648 GB, free: 59.84 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)