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.001677/0.001677, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.333/1.333, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001713/0.001713, allocations: 103.5 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.716e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08421, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.919/6.004, allocations: 2.53 GB / 2.83 GB, free: 73.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.004, allocations: 76.58 kB / 2.83 GB, free: 73.29 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.899/8.903, allocations: 0.7241 GB / 3.555 GB, free: 18.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/8.903, allocations: 0 / 3.555 GB, free: 18.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001075/8.903, allocations: 38.55 kB / 3.555 GB, free: 18.11 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.0119/8.915, allocations: 2.623 MB / 3.557 GB, free: 16.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/8.915, allocations: 10.72 kB / 3.557 GB, free: 16.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/8.92, allocations: 0.5768 MB / 3.558 GB, free: 16.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/8.923, allocations: 1.094 MB / 3.559 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/8.923, allocations: 94.89 kB / 3.559 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/8.923, allocations: 104.4 kB / 3.559 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/8.928, allocations: 2.25 MB / 3.561 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/8.928, allocations: 0 / 3.561 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/8.929, allocations: 54.86 kB / 3.561 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/8.929, allocations: 77.52 kB / 3.561 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/8.933, allocations: 2.269 MB / 3.564 GB, free: 15.87 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.01223/8.946, allocations: 8.921 MB / 3.572 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/8.949, allocations: 1.658 MB / 3.574 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/8.95, allocations: 0.6395 MB / 3.574 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03765/8.988, allocations: 18.82 MB / 3.593 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/8.988, allocations: 47.56 kB / 3.593 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00176/8.99, allocations: 203.4 kB / 3.593 GB, free: 11.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 4.088e-06/8.99, allocations: 0 / 3.593 GB, free: 11.83 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.06127/9.051, allocations: 11.9 MB / 3.605 GB, free: 1.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/9.051, allocations: 222.9 kB / 3.605 GB, free: 1.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/9.053, allocations: 0.7434 MB / 3.606 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004233/9.053, allocations: 57.7 kB / 3.606 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/9.054, allocations: 0.595 MB / 3.606 GB, free: 40 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3369/9.391, allocations: 0.5218 MB / 3.607 GB, free: 33.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/9.391, allocations: 33.47 kB / 3.607 GB, free: 33.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/9.391, allocations: 377.4 kB / 3.607 GB, free: 33.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/9.393, allocations: 1.243 MB / 3.608 GB, free: 33.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/9.396, allocations: 1.698 MB / 3.61 GB, free: 32.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/9.398, allocations: 1.368 MB / 3.611 GB, free: 32.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/9.398, allocations: 3.969 kB / 3.611 GB, free: 32.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007309/9.406, allocations: 4.108 MB / 3.615 GB, free: 32.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009743/9.407, allocations: 4.799 MB / 3.62 GB, free: 27.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/9.407, allocations: 11.12 kB / 3.62 GB, free: 27.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07679/9.483, allocations: 7.957 MB / 3.628 GB, free: 27.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/9.485, allocations: 380.5 kB / 3.628 GB, free: 27.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009083/9.494, allocations: 4.641 MB / 3.633 GB, free: 26.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/9.498, allocations: 242.5 kB / 3.633 GB, free: 26.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/9.498, allocations: 132.6 kB / 3.633 GB, free: 26.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/9.498, allocations: 6.562 kB / 3.633 GB, free: 26.68 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00773/9.506, allocations: 3.887 MB / 3.637 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/9.506, allocations: 13.88 kB / 3.637 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006667/9.513, allocations: 2.645 MB / 3.64 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/9.515, allocations: 443.6 kB / 3.64 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007627/9.522, allocations: 4.064 MB / 3.644 GB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/9.526, allocations: 248.5 kB / 3.644 GB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/9.526, allocations: 123.4 kB / 3.644 GB, free: 25.56 MB / 394.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.0006895/9.527, allocations: 222.8 kB / 3.645 GB, free: 25.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/9.527, allocations: 139.5 kB / 3.645 GB, free: 25.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/9.542, allocations: 8.914 MB / 3.653 GB, free: 24.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/9.543, allocations: 66.86 kB / 3.653 GB, free: 24.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/9.543, allocations: 0 / 3.653 GB, free: 24.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/9.543, allocations: 13.17 kB / 3.653 GB, free: 24.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/9.561, allocations: 11.87 MB / 3.665 GB, free: 24.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/9.561, allocations: 0 / 3.665 GB, free: 24.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/9.562, allocations: 274.5 kB / 3.665 GB, free: 24.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06946/9.632, allocations: 8.872 MB / 3.674 GB, free: 24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005165/9.632, allocations: 66.44 kB / 3.674 GB, free: 24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009675/9.642, allocations: 5.509 MB / 3.679 GB, free: 22.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/9.642, allocations: 7.047 kB / 3.679 GB, free: 22.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/9.656, allocations: 6.754 MB / 3.686 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/9.659, allocations: 0.6824 MB / 3.687 GB, free: 21.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/9.659, allocations: 40.52 kB / 3.687 GB, free: 21.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/9.662, allocations: 223.9 kB / 3.687 GB, free: 21.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/9.662, allocations: 134.5 kB / 3.687 GB, free: 21.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/9.662, allocations: 75.7 kB / 3.687 GB, free: 21.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001266/9.664, allocations: 0.7435 MB / 3.688 GB, free: 21.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.774e-06/9.664, allocations: 0 / 3.688 GB, free: 21.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01123/9.675, allocations: 2.245 MB / 3.69 GB, free: 21.75 MB / 394.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.01066/9.686, allocations: 2.397 MB / 3.692 GB, free: 21.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01695/9.703, allocations: 6.02 MB / 3.698 GB, free: 19.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/9.703, allocations: 2.625 kB / 3.698 GB, free: 19.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006848/9.709, allocations: 2.825 MB / 3.701 GB, free: 18.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/9.713, allocations: 0.5866 MB / 3.702 GB, free: 18.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.507/10.22, allocations: 124.3 MB / 3.823 GB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/10.22, allocations: 1.652 MB / 3.825 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003507/10.22, allocations: 1.514 MB / 3.826 GB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/10.22, allocations: 122.9 kB / 3.826 GB, free: 39.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/10.22, allocations: 0 / 3.826 GB, free: 39.32 MB / 410.7 MB Notification: Performance of Templates: time 0.4536/10.68, allocations: 106.4 MB / 3.93 GB, free: 58.21 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)