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.001351/0.001351, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.428/1.428, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001708/0.001708, allocations: 119 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.486, allocations: 2.64 GB / 2.986 GB, free: 75.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/5.486, allocations: 81.97 kB / 2.987 GB, free: 75.73 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.368/7.854, allocations: 0.7455 GB / 3.732 GB, free: 32.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/7.854, allocations: 0 / 3.732 GB, free: 32.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.021e-05/7.854, allocations: 37.66 kB / 3.732 GB, free: 32.49 MB / 442.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.0102/7.865, allocations: 2.873 MB / 3.735 GB, free: 31.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/7.865, allocations: 7.812 kB / 3.735 GB, free: 31.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/7.869, allocations: 0.5941 MB / 3.735 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/7.871, allocations: 1.088 MB / 3.737 GB, free: 30.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/7.871, allocations: 96.61 kB / 3.737 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/7.871, allocations: 110.3 kB / 3.737 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/7.875, allocations: 2.267 MB / 3.739 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/7.876, allocations: 6.938 kB / 3.739 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/7.876, allocations: 47.52 kB / 3.739 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-05/7.876, allocations: 88.31 kB / 3.739 GB, free: 30.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/7.881, allocations: 2.388 MB / 3.741 GB, free: 30.46 MB / 442.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.009417/7.89, allocations: 8.92 MB / 3.75 GB, free: 25.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/7.894, allocations: 1.768 MB / 3.752 GB, free: 25.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03033/7.924, allocations: 18.78 MB / 3.77 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/7.924, allocations: 49.41 kB / 3.77 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001581/7.926, allocations: 199.9 kB / 3.77 GB, free: 13.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 3.817e-06/7.926, allocations: 0 / 3.77 GB, free: 13.5 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.0926/8.019, allocations: 16.25 MB / 3.786 GB, free: 12.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005426/8.019, allocations: 222.5 kB / 3.787 GB, free: 28.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/8.02, allocations: 0.7501 MB / 3.787 GB, free: 27.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/8.021, allocations: 52.92 kB / 3.787 GB, free: 27.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/8.021, allocations: 0.5925 MB / 3.788 GB, free: 27.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/8.021, allocations: 0.5371 MB / 3.788 GB, free: 27.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/8.022, allocations: 33.47 kB / 3.788 GB, free: 27.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/8.022, allocations: 378.1 kB / 3.789 GB, free: 26.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/8.025, allocations: 1.489 MB / 3.79 GB, free: 26.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/8.029, allocations: 1.94 MB / 3.792 GB, free: 26.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/8.033, allocations: 1.614 MB / 3.794 GB, free: 26.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/8.033, allocations: 3.688 kB / 3.794 GB, free: 26.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01363/8.047, allocations: 4.731 MB / 3.798 GB, free: 26.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002029/8.049, allocations: 4.796 MB / 3.803 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/8.049, allocations: 13.88 kB / 3.803 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07718/8.126, allocations: 8.32 MB / 3.811 GB, free: 21.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/8.128, allocations: 377.5 kB / 3.812 GB, free: 21.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/8.141, allocations: 5.086 MB / 3.816 GB, free: 19.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/8.145, allocations: 238.8 kB / 3.817 GB, free: 19.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/8.145, allocations: 131.3 kB / 3.817 GB, free: 19.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/8.145, allocations: 4.531 kB / 3.817 GB, free: 19.97 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/8.158, allocations: 4.514 MB / 3.821 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/8.158, allocations: 19.09 kB / 3.821 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/8.168, allocations: 2.955 MB / 3.824 GB, free: 19.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/8.17, allocations: 447.4 kB / 3.825 GB, free: 19.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/8.183, allocations: 4.462 MB / 3.829 GB, free: 18.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/8.186, allocations: 244.1 kB / 3.829 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005008/8.187, allocations: 125.2 kB / 3.829 GB, free: 18.7 MB / 458.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 () * Number of clocked 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.001355/8.188, allocations: 494.5 kB / 3.83 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/8.188, allocations: 137.1 kB / 3.83 GB, free: 18.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02052/8.209, allocations: 9.504 MB / 3.839 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/8.209, allocations: 66.31 kB / 3.839 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/8.209, allocations: 0 / 3.839 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/8.209, allocations: 10.03 kB / 3.839 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/8.233, allocations: 12.43 MB / 3.851 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/8.233, allocations: 3.25 kB / 3.851 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/8.235, allocations: 266.8 kB / 3.852 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07804/8.313, allocations: 8.917 MB / 3.86 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000468/8.313, allocations: 65.81 kB / 3.86 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/8.328, allocations: 5.912 MB / 3.866 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/8.328, allocations: 10.25 kB / 3.866 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/8.349, allocations: 7.371 MB / 3.873 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/8.351, allocations: 0.6827 MB / 3.874 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006966/8.352, allocations: 35.23 kB / 3.874 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003328/8.355, allocations: 225.4 kB / 3.874 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2372/8.593, allocations: 133.7 kB / 3.874 GB, free: 45.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006431/8.593, allocations: 75.28 kB / 3.875 GB, free: 45.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001708/8.595, allocations: 0.7514 MB / 3.875 GB, free: 45.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/8.595, allocations: 0.9375 kB / 3.875 GB, free: 45.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009563/8.605, allocations: 2.261 MB / 3.877 GB, free: 45.82 MB / 458.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 () * Number of clocked 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.01068/8.615, allocations: 2.405 MB / 3.88 GB, free: 45.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02366/8.639, allocations: 6.712 MB / 3.886 GB, free: 45.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/8.639, allocations: 2.219 kB / 3.886 GB, free: 45.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008914/8.648, allocations: 3.075 MB / 3.889 GB, free: 45.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/8.652, allocations: 0.5917 MB / 3.89 GB, free: 45.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1948/8.846, allocations: 128.1 MB / 4.015 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009776/8.847, allocations: 1.651 MB / 4.017 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002841/8.85, allocations: 1.46 MB / 4.018 GB, free: 18.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/8.851, allocations: 134.7 kB / 4.018 GB, free: 18.29 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/8.851, allocations: 0 / 4.018 GB, free: 18.29 MB / 458.7 MB Notification: Performance of Templates: time 0.3247/9.175, allocations: 102.5 MB / 4.118 GB, free: 38.78 MB / 458.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)