Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 193.7 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 92.67 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1713/0.1713, allocations: 43.48 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.019e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.651, allocations: 2.817 GB / 3.283 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/4.651, allocations: 75.97 kB / 3.283 GB, free: 49.87 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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: time 2.027/6.679, allocations: 0.7444 GB / 4.027 GB, free: 48.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.698e-05/6.679, allocations: 38.34 kB / 4.027 GB, free: 48 MB / 0.5261 GB 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.009839/6.689, allocations: 2.919 MB / 4.03 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/6.689, allocations: 7.281 kB / 4.03 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/6.693, allocations: 0.6304 MB / 4.031 GB, free: 46.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/6.695, allocations: 1.072 MB / 4.032 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/6.695, allocations: 51.56 kB / 4.032 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/6.696, allocations: 61.59 kB / 4.032 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002474/6.698, allocations: 1.748 MB / 4.034 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/6.7, allocations: 1.568 MB / 4.035 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/6.7, allocations: 6.219 kB / 4.035 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/6.7, allocations: 7.062 kB / 4.035 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/6.7, allocations: 96.28 kB / 4.035 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4558/7.156, allocations: 167.3 MB / 4.199 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/7.158, allocations: 1.112 MB / 4.2 GB, free: 87.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/7.159, allocations: 0.5805 MB / 4.2 GB, free: 87.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/7.186, allocations: 16.9 MB / 4.217 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/7.186, allocations: 44.94 kB / 4.217 GB, free: 75.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=91): time 2.365e-06/7.186, allocations: 4 kB / 4.217 GB, free: 75.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91): time 0.01345/7.2, allocations: 3.044 MB / 4.22 GB, free: 75.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/7.2, allocations: 220.6 kB / 4.22 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/7.201, allocations: 0.7698 MB / 4.221 GB, free: 75.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/7.201, allocations: 33.36 kB / 4.221 GB, free: 75.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/7.202, allocations: 0.4977 MB / 4.221 GB, free: 75.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/7.202, allocations: 311.2 kB / 4.222 GB, free: 75.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/7.202, allocations: 0 / 4.222 GB, free: 75.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/7.202, allocations: 355.9 kB / 4.222 GB, free: 74.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/7.203, allocations: 0.6018 MB / 4.223 GB, free: 74.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/7.204, allocations: 0.9576 MB / 4.224 GB, free: 74.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/7.209, allocations: 1.281 MB / 4.225 GB, free: 74.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/7.209, allocations: 3.562 kB / 4.225 GB, free: 74.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008972/7.218, allocations: 3.051 MB / 4.228 GB, free: 74.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005636/7.219, allocations: 3.746 MB / 4.231 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/7.219, allocations: 8.656 kB / 4.231 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/7.225, allocations: 1.133 MB / 4.233 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/7.226, allocations: 284.5 kB / 4.233 GB, free: 70.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/7.231, allocations: 2.048 MB / 4.235 GB, free: 69.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/7.233, allocations: 260.8 kB / 4.235 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/7.233, allocations: 74.83 kB / 4.235 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/7.233, allocations: 6.125 kB / 4.235 GB, free: 69.54 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006208/7.239, allocations: 1.939 MB / 4.237 GB, free: 69.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/7.239, allocations: 10.25 kB / 4.237 GB, free: 69.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007734/7.24, allocations: 210.9 kB / 4.237 GB, free: 69.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/7.241, allocations: 355.8 kB / 4.238 GB, free: 69.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009923/7.242, allocations: 0.8318 MB / 4.238 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/7.244, allocations: 203.4 kB / 4.239 GB, free: 68.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/7.244, allocations: 72.38 kB / 4.239 GB, free: 68.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003326/7.245, allocations: 141.4 kB / 4.239 GB, free: 68.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/7.246, allocations: 0.4886 MB / 4.239 GB, free: 68.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008317/7.254, allocations: 4.369 MB / 4.244 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/7.254, allocations: 26.7 kB / 4.244 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/7.254, allocations: 0 / 4.244 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/7.254, allocations: 7.359 kB / 4.244 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/7.265, allocations: 6.056 MB / 4.249 GB, free: 67.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/7.265, allocations: 2.844 kB / 4.249 GB, free: 67.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/7.265, allocations: 121.5 kB / 4.25 GB, free: 67.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/7.269, allocations: 2.248 MB / 4.252 GB, free: 67.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/7.27, allocations: 20.78 kB / 4.252 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/7.274, allocations: 2.812 MB / 4.255 GB, free: 67.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/7.274, allocations: 3.312 kB / 4.255 GB, free: 67.19 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007629/7.282, allocations: 3.657 MB / 4.258 GB, free: 66.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/7.283, allocations: 0.5016 MB / 4.259 GB, free: 66.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/7.283, allocations: 8.734 kB / 4.259 GB, free: 66.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/7.284, allocations: 97.09 kB / 4.259 GB, free: 66.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/7.285, allocations: 75.34 kB / 4.259 GB, free: 66.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/7.285, allocations: 37.3 kB / 4.259 GB, free: 66.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001054/7.286, allocations: 0.8691 MB / 4.26 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006477/7.292, allocations: 1.915 MB / 4.262 GB, free: 66.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.008548/7.301, allocations: 2.418 MB / 4.264 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004713/7.305, allocations: 2.792 MB / 4.267 GB, free: 65.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/7.305, allocations: 3.969 kB / 4.267 GB, free: 65.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/7.307, allocations: 1.36 MB / 4.268 GB, free: 65.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/7.31, allocations: 461.9 kB / 4.268 GB, free: 65.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/7.315, allocations: 2.733 MB / 4.271 GB, free: 65.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/7.316, allocations: 1.501 MB / 4.273 GB, free: 64.27 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/7.316, allocations: 3.594 kB / 4.273 GB, free: 64.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.08/7.396, allocations: 65.38 MB / 4.336 GB, free: 45.78 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)