Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 186.9 kB / 8.157 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 88.11 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2663/0.2663, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.285e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.158/6.44, allocations: 2.817 GB / 3.283 GB, free: 104 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/6.44, allocations: 81.66 kB / 3.283 GB, free: 104 MB / 0.4948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/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 3.232/9.672, allocations: 0.7445 GB / 4.027 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001462/9.673, allocations: 39.94 kB / 4.027 GB, free: 2.598 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.2584/9.931, allocations: 2.916 MB / 4.03 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/9.931, allocations: 11.5 kB / 4.03 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/9.939, allocations: 0.6252 MB / 4.031 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/9.943, allocations: 1.065 MB / 4.032 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/9.943, allocations: 46.88 kB / 4.032 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/9.944, allocations: 60.72 kB / 4.032 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005688/9.949, allocations: 1.752 MB / 4.034 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/9.954, allocations: 1.571 MB / 4.035 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/9.954, allocations: 4.125 kB / 4.035 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/9.955, allocations: 7.203 kB / 4.035 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/9.955, allocations: 88.73 kB / 4.035 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5977/10.55, allocations: 167.3 MB / 4.199 GB, free: 43.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/10.56, allocations: 1.111 MB / 4.2 GB, free: 43.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/10.56, allocations: 0.5831 MB / 4.2 GB, free: 43.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06109/10.62, allocations: 16.91 MB / 4.217 GB, free: 31.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/10.62, allocations: 47.09 kB / 4.217 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=91): time 3.346e-06/10.62, allocations: 0 / 4.217 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=91): time 0.02621/10.65, allocations: 3.046 MB / 4.22 GB, free: 31.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/10.65, allocations: 215.9 kB / 4.22 GB, free: 31.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/10.65, allocations: 0.7658 MB / 4.221 GB, free: 31.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003945/10.65, allocations: 26.86 kB / 4.221 GB, free: 31.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/10.65, allocations: 0.5069 MB / 4.221 GB, free: 31.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/10.65, allocations: 310.7 kB / 4.222 GB, free: 30.85 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/10.65, allocations: 0 / 4.222 GB, free: 30.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001882/10.65, allocations: 361.5 kB / 4.222 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/10.65, allocations: 0.6011 MB / 4.223 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/10.65, allocations: 0.9595 MB / 4.223 GB, free: 30.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/10.66, allocations: 1.285 MB / 4.225 GB, free: 30.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/10.66, allocations: 0 / 4.225 GB, free: 30.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01733/10.68, allocations: 2.995 MB / 4.228 GB, free: 30 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.2326/10.91, allocations: 3.748 MB / 4.231 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.69e-05/10.91, allocations: 10.09 kB / 4.231 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/10.93, allocations: 1.117 MB / 4.232 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/10.93, allocations: 284.7 kB / 4.233 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009695/10.94, allocations: 2.032 MB / 4.235 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/10.94, allocations: 201.5 kB / 4.235 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/10.94, allocations: 78.84 kB / 4.235 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/10.94, allocations: 5.328 kB / 4.235 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/10.96, allocations: 1.944 MB / 4.237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/10.96, allocations: 10.75 kB / 4.237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/10.96, allocations: 201.5 kB / 4.237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/10.96, allocations: 358.6 kB / 4.237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/10.96, allocations: 0.8346 MB / 4.238 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/10.96, allocations: 201.2 kB / 4.238 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/10.97, allocations: 71.91 kB / 4.238 GB, free: 146.4 MB / 0.5886 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.0005367/10.97, allocations: 70.31 kB / 4.239 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/10.97, allocations: 498.6 kB / 4.239 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/10.98, allocations: 4.362 MB / 4.243 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/10.98, allocations: 24.86 kB / 4.243 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/10.98, allocations: 0 / 4.243 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/10.98, allocations: 8.828 kB / 4.243 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/11, allocations: 6.079 MB / 4.249 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/11, allocations: 3.719 kB / 4.249 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/11, allocations: 119.7 kB / 4.249 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007942/11.01, allocations: 2.262 MB / 4.252 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/11.01, allocations: 21.78 kB / 4.252 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00938/11.02, allocations: 2.809 MB / 4.254 GB, free: 145 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/11.02, allocations: 3.188 kB / 4.254 GB, free: 145 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0147/11.04, allocations: 3.645 MB / 4.258 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/11.04, allocations: 0.5115 MB / 4.258 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/11.04, allocations: 7.078 kB / 4.258 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/11.04, allocations: 110 kB / 4.259 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/11.04, allocations: 72.09 kB / 4.259 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/11.04, allocations: 43.39 kB / 4.259 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001963/11.04, allocations: 0.8714 MB / 4.259 GB, free: 144 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009673/11.05, allocations: 1.905 MB / 4.261 GB, free: 144 MB / 0.5886 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.01332/11.07, allocations: 2.421 MB / 4.264 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009061/11.08, allocations: 2.772 MB / 4.266 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/11.08, allocations: 0 / 4.266 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/11.08, allocations: 1.36 MB / 4.268 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/11.08, allocations: 468.4 kB / 4.268 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/11.09, allocations: 2.753 MB / 4.271 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/11.1, allocations: 1.496 MB / 4.272 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/11.1, allocations: 0 / 4.272 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.1078/11.2, allocations: 52.23 MB / 4.323 GB, free: 139.9 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)