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.001363/0.001364, allocations: 187 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.505/1.505, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00174/0.00174, allocations: 112.3 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.021e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09601, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.864/6.96, allocations: 2.639 GB / 2.974 GB, free: 4.078 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/6.96, allocations: 78.16 kB / 2.974 GB, free: 4.043 MB / 395.1 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 3.09/10.05, allocations: 0.7368 GB / 3.71 GB, free: 27.72 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.764e-06/10.05, allocations: 3.156 kB / 3.71 GB, free: 27.72 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.000163/10.05, allocations: 35.12 kB / 3.71 GB, free: 27.71 MB / 427.1 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.01204/10.06, allocations: 2.718 MB / 3.713 GB, free: 26.32 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/10.06, allocations: 11.44 kB / 3.713 GB, free: 26.32 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/10.07, allocations: 0.5973 MB / 3.714 GB, free: 26.24 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/10.07, allocations: 1.091 MB / 3.715 GB, free: 25.89 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/10.07, allocations: 46.27 kB / 3.715 GB, free: 25.89 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/10.07, allocations: 60.47 kB / 3.715 GB, free: 25.89 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003125/10.07, allocations: 1.744 MB / 3.717 GB, free: 25.88 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/10.08, allocations: 1.541 MB / 3.718 GB, free: 25.52 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/10.08, allocations: 6.875 kB / 3.718 GB, free: 25.51 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/10.08, allocations: 1.938 kB / 3.718 GB, free: 25.51 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/10.08, allocations: 83.64 kB / 3.718 GB, free: 25.51 MB / 427.1 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.6177/10.7, allocations: 136.7 MB / 3.852 GB, free: 16.58 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/10.7, allocations: 1.045 MB / 3.853 GB, free: 16.54 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/10.7, allocations: 0.5326 MB / 3.853 GB, free: 16.52 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03106/10.73, allocations: 17.42 MB / 3.87 GB, free: 21.07 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/10.73, allocations: 41.72 kB / 3.87 GB, free: 21.04 MB / 475.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00131/10.73, allocations: 182.8 kB / 3.87 GB, free: 21.03 MB / 475.1 MB Notification: Performance of pre-optimization done (n=91): time 5.761e-06/10.73, allocations: 0 / 3.87 GB, free: 21.03 MB / 475.1 MB Notification: Performance of matching and sorting (n=129): time 0.0627/10.79, allocations: 9.745 MB / 3.88 GB, free: 20.44 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/10.79, allocations: 221.4 kB / 3.88 GB, free: 20.19 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/10.8, allocations: 0.7516 MB / 3.881 GB, free: 20.03 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/10.8, allocations: 27.45 kB / 3.881 GB, free: 20 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/10.8, allocations: 0.6453 MB / 3.882 GB, free: 19.73 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005564/10.8, allocations: 429.2 kB / 3.882 GB, free: 19.52 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/10.8, allocations: 0 / 3.882 GB, free: 19.52 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/10.8, allocations: 367.9 kB / 3.882 GB, free: 19.21 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/10.8, allocations: 1.262 MB / 3.884 GB, free: 19.21 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/10.8, allocations: 1.706 MB / 3.885 GB, free: 18.71 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006179/10.81, allocations: 1.89 MB / 3.887 GB, free: 18.66 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/10.81, allocations: 4.547 kB / 3.887 GB, free: 18.66 MB / 475.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01184/10.82, allocations: 4.67 MB / 3.892 GB, free: 18.5 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002007/10.82, allocations: 4.801 MB / 3.896 GB, free: 13.46 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/10.82, allocations: 9.844 kB / 3.896 GB, free: 13.46 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/10.83, allocations: 3.969 MB / 3.9 GB, free: 13.36 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/10.83, allocations: 324 kB / 3.901 GB, free: 13.36 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/10.85, allocations: 5.741 MB / 3.906 GB, free: 12.27 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004672/10.85, allocations: 281.3 kB / 3.906 GB, free: 12.25 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009764/10.85, allocations: 120.5 kB / 3.907 GB, free: 12.25 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/10.85, allocations: 3.219 kB / 3.907 GB, free: 12.25 MB / 475.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01259/10.87, allocations: 2.908 MB / 3.909 GB, free: 12.16 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/10.87, allocations: 11.44 kB / 3.909 GB, free: 12.16 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/10.87, allocations: 0.5722 MB / 3.91 GB, free: 12.12 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/10.87, allocations: 452 kB / 3.91 GB, free: 12.12 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/10.87, allocations: 1.787 MB / 3.912 GB, free: 11.07 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/10.88, allocations: 183.6 kB / 3.912 GB, free: 11.05 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003501/10.88, allocations: 99.89 kB / 3.912 GB, free: 11.05 MB / 475.1 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.0009261/10.88, allocations: 171.3 kB / 3.913 GB, free: 10.94 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/10.88, allocations: 128.8 kB / 3.913 GB, free: 10.87 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/10.89, allocations: 6.678 MB / 3.919 GB, free: 7.797 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/10.89, allocations: 35.3 kB / 3.919 GB, free: 7.781 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/10.89, allocations: 0 / 3.919 GB, free: 7.781 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/10.89, allocations: 6.984 kB / 3.919 GB, free: 7.781 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/10.91, allocations: 8.996 MB / 3.928 GB, free: 3.602 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/10.91, allocations: 8.031 kB / 3.928 GB, free: 3.594 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/10.91, allocations: 144.4 kB / 3.928 GB, free: 3.484 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/10.92, allocations: 5.237 MB / 3.933 GB, free: 344 kB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/10.92, allocations: 39.75 kB / 3.933 GB, free: 332 kB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3115/11.23, allocations: 6.902 MB / 3.94 GB, free: 74.71 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/11.23, allocations: 6.031 kB / 3.94 GB, free: 74.71 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/11.24, allocations: 5.64 MB / 3.946 GB, free: 74.31 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/11.24, allocations: 0.6283 MB / 3.946 GB, free: 74.21 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/11.24, allocations: 0 / 3.946 GB, free: 74.21 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/11.24, allocations: 198.1 kB / 3.946 GB, free: 74.2 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/11.24, allocations: 95.69 kB / 3.946 GB, free: 74.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/11.24, allocations: 72.47 kB / 3.947 GB, free: 74.2 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001135/11.25, allocations: 0.7795 MB / 3.947 GB, free: 74.09 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.01e-07/11.25, allocations: 0.6562 kB / 3.947 GB, free: 74.09 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00851/11.25, allocations: 2.06 MB / 3.949 GB, free: 74.09 MB / 475.1 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.01006/11.26, allocations: 2.489 MB / 3.952 GB, free: 73.89 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.01194/11.28, allocations: 4.806 MB / 3.956 GB, free: 73.85 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/11.28, allocations: 0 / 3.956 GB, free: 73.85 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005991/11.28, allocations: 2.172 MB / 3.959 GB, free: 73.82 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/11.29, allocations: 481.8 kB / 3.959 GB, free: 73.82 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/11.29, allocations: 3.393 MB / 3.962 GB, free: 73.21 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/11.29, allocations: 1.46 MB / 3.964 GB, free: 72.48 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.00364/11.3, allocations: 1.704 MB / 3.965 GB, free: 72.47 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/11.3, allocations: 96.11 kB / 3.966 GB, free: 72.46 MB / 475.1 MB Notification: Performance of SimCode: time 2.384e-06/11.3, allocations: 0 / 3.966 GB, free: 72.46 MB / 475.1 MB Notification: Performance of Templates: time 0.1098/11.41, allocations: 87.25 MB / 4.051 GB, free: 59.86 MB / 475.1 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)