Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01014/0.01014, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001575/0.001575, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 38.78 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.56/6.849, allocations: 2.53 GB / 2.836 GB, free: 95.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/6.85, allocations: 83.22 kB / 2.836 GB, free: 95.3 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.904/9.754, allocations: 0.7262 GB / 3.562 GB, free: 29.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.534e-06/9.754, allocations: 0 / 3.562 GB, free: 29.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001383/9.754, allocations: 38.55 kB / 3.562 GB, free: 29.49 MB / 394.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.01515/9.769, allocations: 2.771 MB / 3.565 GB, free: 28.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/9.769, allocations: 11.61 kB / 3.565 GB, free: 28.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/9.774, allocations: 0.5854 MB / 3.565 GB, free: 28.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/9.778, allocations: 1.094 MB / 3.566 GB, free: 27.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/9.778, allocations: 90.72 kB / 3.566 GB, free: 27.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/9.778, allocations: 105.1 kB / 3.566 GB, free: 27.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/9.784, allocations: 2.266 MB / 3.569 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/9.784, allocations: 9.5 kB / 3.569 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/9.784, allocations: 47.69 kB / 3.569 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/9.784, allocations: 87.56 kB / 3.569 GB, free: 27.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00541/9.789, allocations: 2.394 MB / 3.571 GB, free: 27.34 MB / 394.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.01101/9.8, allocations: 8.921 MB / 3.58 GB, free: 22.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/9.804, allocations: 1.772 MB / 3.582 GB, free: 22.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03187/9.836, allocations: 18.76 MB / 3.6 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/9.836, allocations: 49.06 kB / 3.6 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001681/9.838, allocations: 197.5 kB / 3.6 GB, free: 10.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 5.35e-06/9.838, allocations: 0 / 3.6 GB, free: 10.36 MB / 394.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.1039/9.942, allocations: 16.23 MB / 3.616 GB, free: 25.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003016/9.942, allocations: 222 kB / 3.616 GB, free: 24.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/9.945, allocations: 0.7471 MB / 3.617 GB, free: 24.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001115/9.946, allocations: 57.3 kB / 3.617 GB, free: 24.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009923/9.947, allocations: 0.5942 MB / 3.618 GB, free: 24.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/9.949, allocations: 0.5242 MB / 3.618 GB, free: 24.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004543/9.95, allocations: 36.31 kB / 3.618 GB, free: 24.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003196/9.95, allocations: 377.7 kB / 3.618 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/9.955, allocations: 1.486 MB / 3.62 GB, free: 23.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/9.959, allocations: 1.948 MB / 3.622 GB, free: 23.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/9.964, allocations: 1.601 MB / 3.623 GB, free: 23.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/9.964, allocations: 7.625 kB / 3.623 GB, free: 23.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.015/9.979, allocations: 4.744 MB / 3.628 GB, free: 22.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00232/9.982, allocations: 4.796 MB / 3.633 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/9.982, allocations: 10.03 kB / 3.633 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09456/10.08, allocations: 8.316 MB / 3.641 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/10.08, allocations: 382.8 kB / 3.641 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/10.1, allocations: 5.081 MB / 3.646 GB, free: 16.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/10.1, allocations: 247.3 kB / 3.646 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/10.1, allocations: 128.3 kB / 3.647 GB, free: 16.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/10.1, allocations: 3.906 kB / 3.647 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01605/10.12, allocations: 4.515 MB / 3.651 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.07e-05/10.12, allocations: 12.78 kB / 3.651 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/10.13, allocations: 2.965 MB / 3.654 GB, free: 16.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/10.13, allocations: 441.1 kB / 3.654 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/10.14, allocations: 4.463 MB / 3.659 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/10.15, allocations: 244.5 kB / 3.659 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008267/10.15, allocations: 130 kB / 3.659 GB, free: 15.33 MB / 410.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.002203/10.15, allocations: 492.5 kB / 3.659 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008148/10.15, allocations: 135.8 kB / 3.66 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02616/10.18, allocations: 9.507 MB / 3.669 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/10.18, allocations: 65.89 kB / 3.669 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/10.18, allocations: 5.406 kB / 3.669 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/10.18, allocations: 15.02 kB / 3.669 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/10.21, allocations: 12.41 MB / 3.681 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/10.21, allocations: 2.531 kB / 3.681 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/10.21, allocations: 273.9 kB / 3.681 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4366/10.65, allocations: 9.463 MB / 3.691 GB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005941/10.65, allocations: 62.05 kB / 3.691 GB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/10.67, allocations: 5.928 MB / 3.696 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/10.67, allocations: 1.406 kB / 3.696 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/10.69, allocations: 7.369 MB / 3.704 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/10.69, allocations: 0.6861 MB / 3.704 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005552/10.69, allocations: 35.06 kB / 3.704 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/10.69, allocations: 224.4 kB / 3.705 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/10.7, allocations: 141 kB / 3.705 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/10.7, allocations: 79.47 kB / 3.705 GB, free: 40.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001246/10.7, allocations: 0.7508 MB / 3.705 GB, free: 40.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/10.7, allocations: 0 / 3.705 GB, free: 40.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01302/10.71, allocations: 2.244 MB / 3.708 GB, free: 40.18 MB / 410.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.01431/10.72, allocations: 2.388 MB / 3.71 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02898/10.75, allocations: 6.727 MB / 3.717 GB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/10.75, allocations: 0 / 3.717 GB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01043/10.76, allocations: 3.065 MB / 3.72 GB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/10.77, allocations: 0.5897 MB / 3.72 GB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4818/11.25, allocations: 125.9 MB / 3.843 GB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/11.25, allocations: 1.651 MB / 3.845 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003215/11.25, allocations: 1.456 MB / 3.846 GB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/11.25, allocations: 134.6 kB / 3.846 GB, free: 38.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/11.25, allocations: 0.6562 kB / 3.846 GB, free: 38.58 MB / 410.7 MB Notification: Performance of Templates: time 0.1547/11.41, allocations: 102.3 MB / 3.946 GB, free: 15.5 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)