Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001365, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.65/1.65, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001885/0.001886, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.269e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09385, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.627/7.72, allocations: 2.64 GB / 2.981 GB, free: 112.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/7.721, allocations: 80.83 kB / 2.981 GB, free: 112.8 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 2.738/10.46, allocations: 0.7434 GB / 3.724 GB, free: 22.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/10.46, allocations: 0 / 3.724 GB, free: 22.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001099/10.46, allocations: 42 kB / 3.724 GB, free: 22.44 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01253/10.47, allocations: 2.713 MB / 3.727 GB, free: 20.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/10.47, allocations: 9.75 kB / 3.727 GB, free: 20.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/10.48, allocations: 0.6009 MB / 3.728 GB, free: 20.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/10.48, allocations: 1.094 MB / 3.729 GB, free: 20.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/10.48, allocations: 91.33 kB / 3.729 GB, free: 20.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/10.48, allocations: 103.3 kB / 3.729 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/10.48, allocations: 2.251 MB / 3.731 GB, free: 19.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/10.48, allocations: 14.59 kB / 3.731 GB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/10.49, allocations: 55.83 kB / 3.731 GB, free: 19.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/10.49, allocations: 83.73 kB / 3.731 GB, free: 19.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/10.49, allocations: 2.261 MB / 3.733 GB, free: 18.32 MB / 426.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.01154/10.5, allocations: 8.914 MB / 3.742 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/10.5, allocations: 1.66 MB / 3.744 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/10.51, allocations: 0.6387 MB / 3.744 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0355/10.54, allocations: 18.83 MB / 3.763 GB, free: 7.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.89e-05/10.54, allocations: 47.52 kB / 3.763 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/10.54, allocations: 202.3 kB / 3.763 GB, free: 7.598 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 9.798e-06/10.54, allocations: 0 / 3.763 GB, free: 7.598 MB / 442.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=159): time 0.4521/11, allocations: 11.9 MB / 3.775 GB, free: 38.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/11, allocations: 228.3 kB / 3.775 GB, free: 37.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/11, allocations: 0.7418 MB / 3.776 GB, free: 37.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/11, allocations: 53.95 kB / 3.776 GB, free: 37.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/11, allocations: 0.588 MB / 3.776 GB, free: 37.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000598/11, allocations: 0.5318 MB / 3.777 GB, free: 37.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/11, allocations: 35.97 kB / 3.777 GB, free: 37.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/11, allocations: 374.2 kB / 3.777 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/11, allocations: 1.246 MB / 3.778 GB, free: 36.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/11, allocations: 1.7 MB / 3.78 GB, free: 36.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/11.01, allocations: 1.364 MB / 3.781 GB, free: 36.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/11.01, allocations: 6.25 kB / 3.781 GB, free: 36.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.008015/11.01, allocations: 4.103 MB / 3.785 GB, free: 36.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001223/11.02, allocations: 4.796 MB / 3.79 GB, free: 31.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/11.02, allocations: 13.69 kB / 3.79 GB, free: 31.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07749/11.09, allocations: 7.954 MB / 3.798 GB, free: 31.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/11.1, allocations: 379.9 kB / 3.798 GB, free: 31.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009956/11.11, allocations: 4.643 MB / 3.803 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/11.11, allocations: 244.8 kB / 3.803 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/11.11, allocations: 127 kB / 3.803 GB, free: 30.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/11.11, allocations: 3 kB / 3.803 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008715/11.12, allocations: 3.896 MB / 3.807 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/11.12, allocations: 16.5 kB / 3.807 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007012/11.13, allocations: 2.641 MB / 3.809 GB, free: 29.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/11.13, allocations: 448.1 kB / 3.81 GB, free: 29.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008394/11.14, allocations: 4.075 MB / 3.814 GB, free: 28.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/11.14, allocations: 242.2 kB / 3.814 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006521/11.14, allocations: 124 kB / 3.814 GB, free: 28.91 MB / 442.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: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.001197/11.14, allocations: 211.9 kB / 3.814 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/11.14, allocations: 142 kB / 3.815 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/11.16, allocations: 8.912 MB / 3.823 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.483e-05/11.16, allocations: 65.16 kB / 3.823 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/11.16, allocations: 0 / 3.823 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/11.16, allocations: 8.25 kB / 3.823 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/11.18, allocations: 11.88 MB / 3.835 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/11.18, allocations: 9.844 kB / 3.835 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/11.19, allocations: 270 kB / 3.835 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07061/11.26, allocations: 8.876 MB / 3.844 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006836/11.26, allocations: 62.81 kB / 3.844 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/11.27, allocations: 5.503 MB / 3.849 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/11.27, allocations: 6.594 kB / 3.849 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/11.28, allocations: 6.747 MB / 3.856 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/11.28, allocations: 0.6919 MB / 3.857 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000854/11.29, allocations: 39.31 kB / 3.857 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/11.29, allocations: 223.2 kB / 3.857 GB, free: 25.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/11.29, allocations: 135.7 kB / 3.857 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/11.29, allocations: 79.27 kB / 3.857 GB, free: 25.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001449/11.29, allocations: 0.7412 MB / 3.858 GB, free: 25.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/11.29, allocations: 4.234 kB / 3.858 GB, free: 25.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01222/11.3, allocations: 2.261 MB / 3.86 GB, free: 25.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.0154/11.32, allocations: 2.396 MB / 3.862 GB, free: 24.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01836/11.34, allocations: 6.024 MB / 3.868 GB, free: 22.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/11.34, allocations: 1.688 kB / 3.868 GB, free: 22.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008246/11.35, allocations: 2.829 MB / 3.871 GB, free: 21.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/11.35, allocations: 0.588 MB / 3.872 GB, free: 21.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5889/11.94, allocations: 127.3 MB / 3.996 GB, free: 46.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/11.94, allocations: 1.652 MB / 3.997 GB, free: 45.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003806/11.94, allocations: 1.516 MB / 3.999 GB, free: 45.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/11.94, allocations: 119.2 kB / 3.999 GB, free: 45.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.824e-06/11.94, allocations: 0 / 3.999 GB, free: 45.37 MB / 458.7 MB Notification: Performance of Templates: time 0.4675/12.41, allocations: 106.6 MB / 4.103 GB, free: 62.14 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)