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.001768/0.001768, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.539/1.539, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001923/0.001923, allocations: 99.52 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.396e-05, allocations: 0 / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08059, allocations: 38.78 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.275/6.355, allocations: 2.529 GB / 2.823 GB, free: 81.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/6.356, allocations: 76.09 kB / 2.823 GB, free: 81.14 MB / 346.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 3.009/9.365, allocations: 0.7178 GB / 3.541 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/9.365, allocations: 0 / 3.541 GB, free: 19.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001894/9.365, allocations: 34.38 kB / 3.541 GB, free: 19.43 MB / 378.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.0139/9.379, allocations: 2.624 MB / 3.544 GB, free: 18.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/9.379, allocations: 12.44 kB / 3.544 GB, free: 18.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/9.384, allocations: 0.5837 MB / 3.544 GB, free: 18.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/9.388, allocations: 1.085 MB / 3.545 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/9.388, allocations: 43.44 kB / 3.545 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/9.388, allocations: 61.69 kB / 3.545 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003602/9.392, allocations: 1.744 MB / 3.547 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/9.396, allocations: 1.542 MB / 3.549 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/9.396, allocations: 7.156 kB / 3.549 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/9.396, allocations: 3.531 kB / 3.549 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/9.396, allocations: 89.64 kB / 3.549 GB, free: 17.38 MB / 378.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.6367/10.03, allocations: 136.6 MB / 3.682 GB, free: 52.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/10.04, allocations: 1.048 MB / 3.683 GB, free: 52.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/10.04, allocations: 0.5316 MB / 3.684 GB, free: 52.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03136/10.07, allocations: 17.42 MB / 3.701 GB, free: 41.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/10.07, allocations: 41.59 kB / 3.701 GB, free: 41.11 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001684/10.07, allocations: 176.7 kB / 3.701 GB, free: 41.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 1.147e-05/10.07, allocations: 0.6562 kB / 3.701 GB, free: 41.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.06365/10.13, allocations: 9.75 MB / 3.711 GB, free: 40.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/10.13, allocations: 220.6 kB / 3.711 GB, free: 40.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/10.13, allocations: 0.7393 MB / 3.711 GB, free: 40.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/10.13, allocations: 29.7 kB / 3.711 GB, free: 40.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/10.14, allocations: 0.6509 MB / 3.712 GB, free: 39.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/10.14, allocations: 431.3 kB / 3.713 GB, free: 39.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/10.14, allocations: 0 / 3.713 GB, free: 39.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/10.14, allocations: 375.2 kB / 3.713 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/10.14, allocations: 1.265 MB / 3.714 GB, free: 39.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/10.14, allocations: 1.704 MB / 3.716 GB, free: 38.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/10.15, allocations: 1.886 MB / 3.718 GB, free: 38.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/10.15, allocations: 3.656 kB / 3.718 GB, free: 38.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01341/10.16, allocations: 4.66 MB / 3.722 GB, free: 38.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002009/10.16, allocations: 4.805 MB / 3.727 GB, free: 33.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.129e-05/10.16, allocations: 10.09 kB / 3.727 GB, free: 33.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/10.17, allocations: 3.964 MB / 3.731 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/10.18, allocations: 327.2 kB / 3.731 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/10.19, allocations: 5.747 MB / 3.737 GB, free: 32.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/10.19, allocations: 279 kB / 3.737 GB, free: 32.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/10.19, allocations: 119.8 kB / 3.737 GB, free: 32.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/10.19, allocations: 3.938 kB / 3.737 GB, free: 32.32 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01737/10.21, allocations: 2.903 MB / 3.74 GB, free: 32.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-05/10.21, allocations: 10.59 kB / 3.74 GB, free: 32.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/10.22, allocations: 0.5738 MB / 3.74 GB, free: 32.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/10.22, allocations: 457.7 kB / 3.741 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/10.22, allocations: 1.774 MB / 3.743 GB, free: 31.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/10.23, allocations: 188.4 kB / 3.743 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009258/10.23, allocations: 95.56 kB / 3.743 GB, free: 31.14 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.002155/10.23, allocations: 167.5 kB / 3.743 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/10.23, allocations: 132.8 kB / 3.743 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/10.26, allocations: 6.671 MB / 3.75 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/10.26, allocations: 38.42 kB / 3.75 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/10.26, allocations: 0 / 3.75 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/10.26, allocations: 10.08 kB / 3.75 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/10.29, allocations: 8.998 MB / 3.759 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/10.29, allocations: 4.156 kB / 3.759 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/10.29, allocations: 143.6 kB / 3.759 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0173/10.3, allocations: 5.244 MB / 3.764 GB, free: 29.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005697/10.3, allocations: 45.09 kB / 3.764 GB, free: 29.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/10.33, allocations: 6.898 MB / 3.771 GB, free: 28.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/10.33, allocations: 8.469 kB / 3.771 GB, free: 28.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/10.34, allocations: 5.641 MB / 3.776 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/10.35, allocations: 0.6229 MB / 3.777 GB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009268/10.35, allocations: 0 / 3.777 GB, free: 27.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005217/10.35, allocations: 198.4 kB / 3.777 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/10.35, allocations: 95.12 kB / 3.777 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003967/10.35, allocations: 71.42 kB / 3.777 GB, free: 27.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002079/10.36, allocations: 0.7814 MB / 3.778 GB, free: 27.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.36, allocations: 0.5469 kB / 3.778 GB, free: 27.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01289/10.37, allocations: 2.047 MB / 3.78 GB, free: 27.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01213/10.38, allocations: 2.489 MB / 3.782 GB, free: 26.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01311/10.39, allocations: 4.804 MB / 3.787 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/10.39, allocations: 0 / 3.787 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/10.4, allocations: 2.173 MB / 3.789 GB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/10.4, allocations: 488.9 kB / 3.79 GB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/10.41, allocations: 3.385 MB / 3.793 GB, free: 18.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000979/10.41, allocations: 1.457 MB / 3.794 GB, free: 17.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003438/10.42, allocations: 1.706 MB / 3.796 GB, free: 16.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/10.42, allocations: 94.81 kB / 3.796 GB, free: 16.43 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/10.42, allocations: 0 / 3.796 GB, free: 16.43 MB / 426.7 MB Notification: Performance of Templates: time 0.4106/10.83, allocations: 87.34 MB / 3.881 GB, free: 54 MB / 426.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)