Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.00548/0.00548, allocations: 181.5 kB / 7.455 MB, free: 2.508 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.688/1.688, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.002086/0.002086, allocations: 111.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2169/0.2169, allocations: 37.98 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.216e-05, allocations: 1.219 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1625, allocations: 48.7 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.169/7.332, allocations: 2.537 GB / 2.926 GB, free: 115.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/7.332, allocations: 84.64 kB / 2.926 GB, free: 115.9 MB / 426.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: time 2.816/10.15, allocations: 0.7208 GB / 3.647 GB, free: 34.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002233/10.15, allocations: 37.88 kB / 3.647 GB, free: 34.84 MB / 458.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.01537/10.16, allocations: 2.821 MB / 3.65 GB, free: 33.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/10.16, allocations: 10.25 kB / 3.65 GB, free: 33.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/10.17, allocations: 0.6092 MB / 3.651 GB, free: 33.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/10.17, allocations: 1.085 MB / 3.652 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/10.17, allocations: 48.47 kB / 3.652 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/10.17, allocations: 61.09 kB / 3.652 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004102/10.18, allocations: 1.735 MB / 3.653 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/10.18, allocations: 1.562 MB / 3.655 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/10.18, allocations: 2.906 kB / 3.655 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/10.18, allocations: 3.312 kB / 3.655 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.472e-05/10.18, allocations: 89.39 kB / 3.655 GB, free: 32.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6195/10.8, allocations: 137.5 MB / 3.789 GB, free: 78.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/10.8, allocations: 1.025 MB / 3.79 GB, free: 78.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/10.8, allocations: 0.5534 MB / 3.791 GB, free: 78.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/10.84, allocations: 17.42 MB / 3.808 GB, free: 66.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/10.84, allocations: 44.09 kB / 3.808 GB, free: 66.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/10.84, allocations: 2.625 kB / 3.808 GB, free: 66.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.07233/10.91, allocations: 10.67 MB / 3.818 GB, free: 66.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/10.91, allocations: 228.6 kB / 3.819 GB, free: 66.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/10.91, allocations: 0.7577 MB / 3.819 GB, free: 65.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003981/10.91, allocations: 25.7 kB / 3.819 GB, free: 65.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/10.91, allocations: 0.5132 MB / 3.82 GB, free: 65.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/10.91, allocations: 440.8 kB / 3.82 GB, free: 65.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/10.91, allocations: 0 / 3.82 GB, free: 65.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/10.91, allocations: 367.2 kB / 3.821 GB, free: 65.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/10.91, allocations: 1.338 MB / 3.822 GB, free: 65.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/10.92, allocations: 1.777 MB / 3.824 GB, free: 64.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006823/10.92, allocations: 1.98 MB / 3.826 GB, free: 64.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/10.92, allocations: 9.219 kB / 3.826 GB, free: 64.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01441/10.94, allocations: 5.47 MB / 3.831 GB, free: 64.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001169/10.94, allocations: 4.786 MB / 3.836 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/10.94, allocations: 14.98 kB / 3.836 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/10.95, allocations: 4.092 MB / 3.84 GB, free: 59.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/10.96, allocations: 334.4 kB / 3.84 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/10.97, allocations: 6.3 MB / 3.846 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/10.98, allocations: 286.9 kB / 3.846 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005799/10.98, allocations: 127.5 kB / 3.846 GB, free: 58.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/10.98, allocations: 3.625 kB / 3.846 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01233/10.99, allocations: 3.152 MB / 3.85 GB, free: 58.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.754e-05/10.99, allocations: 13.78 kB / 3.85 GB, free: 58.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/10.99, allocations: 0.5886 MB / 3.85 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/10.99, allocations: 460.7 kB / 3.851 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/11, allocations: 1.932 MB / 3.852 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/11, allocations: 183.6 kB / 3.853 GB, free: 56.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/11, allocations: 99.95 kB / 3.853 GB, free: 56.91 MB / 490.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.0009706/11, allocations: 170.2 kB / 3.853 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/11, allocations: 0.4994 MB / 3.853 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/11.02, allocations: 7.327 MB / 3.861 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/11.02, allocations: 33.86 kB / 3.861 GB, free: 56.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/11.02, allocations: 1.969 kB / 3.861 GB, free: 56.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/11.02, allocations: 10.7 kB / 3.861 GB, free: 56.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/11.04, allocations: 9.709 MB / 3.87 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/11.04, allocations: 2.875 kB / 3.87 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/11.04, allocations: 149 kB / 3.87 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/11.05, allocations: 5.053 MB / 3.875 GB, free: 55.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00046/11.05, allocations: 52.55 kB / 3.875 GB, free: 55.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/11.07, allocations: 6.996 MB / 3.882 GB, free: 54.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/11.07, allocations: 6.188 kB / 3.882 GB, free: 54.36 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01381/11.08, allocations: 6.191 MB / 3.888 GB, free: 53.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/11.08, allocations: 0.6518 MB / 3.889 GB, free: 53.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000529/11.08, allocations: 3.719 kB / 3.889 GB, free: 53.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/11.09, allocations: 196.7 kB / 3.889 GB, free: 53.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/11.09, allocations: 98.5 kB / 3.889 GB, free: 53.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/11.09, allocations: 76.12 kB / 3.889 GB, free: 53.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001203/11.09, allocations: 0.8073 MB / 3.89 GB, free: 53.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01273/11.1, allocations: 2.077 MB / 3.892 GB, free: 53.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.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 (76): * Single equations (assignments): 72 * 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: 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.01568/11.12, allocations: 2.574 MB / 3.894 GB, free: 52.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01442/11.13, allocations: 5.328 MB / 3.9 GB, free: 52.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/11.13, allocations: 0 / 3.9 GB, free: 52.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006659/11.14, allocations: 2.523 MB / 3.902 GB, free: 52.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/11.14, allocations: 472 kB / 3.903 GB, free: 52.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04842/11.19, allocations: 19.97 MB / 3.922 GB, free: 39.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/11.19, allocations: 1.583 MB / 3.924 GB, free: 38.38 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/11.19, allocations: 2.516 kB / 3.924 GB, free: 38.38 MB / 490.7 MB Notification: Performance of Templates: time 0.4365/11.63, allocations: 100.9 MB / 4.022 GB, free: 86.25 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)