Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 183.7 kB / 8.52 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 82.42 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1735/0.1735, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2085/0.382, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.4954, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.279/5.774, allocations: 2.823 GB / 3.317 GB, free: 157 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/5.774, allocations: 73.11 kB / 3.317 GB, free: 157 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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 2.152/7.926, allocations: 0.7555 GB / 4.072 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/7.926, allocations: 13.44 kB / 4.072 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/7.931, allocations: 0.6343 MB / 4.073 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/7.934, allocations: 1.077 MB / 4.074 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/7.934, allocations: 44 kB / 4.074 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/7.935, allocations: 60 kB / 4.074 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00322/7.938, allocations: 1.754 MB / 4.076 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2452/8.183, allocations: 1.566 MB / 4.077 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/8.183, allocations: 7.344 kB / 4.077 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/8.183, allocations: 3.562 kB / 4.077 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/8.184, allocations: 88.72 kB / 4.077 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3219/8.505, allocations: 167.3 MB / 4.241 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/8.508, allocations: 1.11 MB / 4.242 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/8.509, allocations: 0.5805 MB / 4.243 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2717/8.781, allocations: 16.92 MB / 4.259 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/8.781, allocations: 42.78 kB / 4.259 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=91): time 2.996e-06/8.781, allocations: 0 / 4.259 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91): time 0.01386/8.794, allocations: 3.039 MB / 4.262 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/8.795, allocations: 224.8 kB / 4.262 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/8.796, allocations: 0.7699 MB / 4.263 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/8.796, allocations: 28.52 kB / 4.263 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/8.796, allocations: 0.4944 MB / 4.264 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/8.796, allocations: 314.5 kB / 4.264 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/8.796, allocations: 0 / 4.264 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/8.796, allocations: 352 kB / 4.264 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/8.797, allocations: 0.6056 MB / 4.265 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/8.798, allocations: 0.955 MB / 4.266 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005613/8.804, allocations: 1.283 MB / 4.267 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/8.804, allocations: 7.156 kB / 4.267 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.009857/8.814, allocations: 3.051 MB / 4.27 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006853/8.814, allocations: 3.745 MB / 4.274 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/8.815, allocations: 9.781 kB / 4.274 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/8.821, allocations: 1.136 MB / 4.275 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/8.822, allocations: 286.2 kB / 4.275 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/8.827, allocations: 2.047 MB / 4.277 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/8.829, allocations: 266.8 kB / 4.277 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/8.829, allocations: 77.62 kB / 4.277 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/8.829, allocations: 3 kB / 4.277 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006846/8.836, allocations: 1.95 MB / 4.279 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/8.836, allocations: 10.97 kB / 4.279 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/8.837, allocations: 199.2 kB / 4.279 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/8.839, allocations: 357.6 kB / 4.28 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/8.84, allocations: 0.8385 MB / 4.281 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/8.842, allocations: 199.5 kB / 4.281 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/8.842, allocations: 74.42 kB / 4.281 GB, free: 133.6 MB / 0.6042 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.0003939/8.842, allocations: 148.1 kB / 4.281 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/8.844, allocations: 0.4928 MB / 4.281 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/8.852, allocations: 4.366 MB / 4.286 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/8.852, allocations: 30.44 kB / 4.286 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/8.852, allocations: 2.156 kB / 4.286 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/8.852, allocations: 3.938 kB / 4.286 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/8.864, allocations: 6.061 MB / 4.292 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/8.864, allocations: 3.531 kB / 4.292 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/8.865, allocations: 122.3 kB / 4.292 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004449/8.869, allocations: 2.256 MB / 4.294 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/8.87, allocations: 14.83 kB / 4.294 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/8.875, allocations: 2.812 MB / 4.297 GB, free: 132 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/8.875, allocations: 14.88 kB / 4.297 GB, free: 132 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008511/8.884, allocations: 3.64 MB / 4.3 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008757/8.892, allocations: 4.147 MB / 4.304 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/8.894, allocations: 0.5021 MB / 4.305 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/8.894, allocations: 10.28 kB / 4.305 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/8.895, allocations: 101.2 kB / 4.305 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/8.896, allocations: 70.22 kB / 4.305 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/8.896, allocations: 38.92 kB / 4.305 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001273/8.897, allocations: 0.8701 MB / 4.306 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009616/8.907, allocations: 2.322 MB / 4.308 GB, free: 130 MB / 0.6042 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.01037/8.917, allocations: 2.411 MB / 4.311 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006767/8.924, allocations: 2.799 MB / 4.313 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/8.924, allocations: 2.625 kB / 4.313 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/8.926, allocations: 1.354 MB / 4.315 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/8.929, allocations: 482.4 kB / 4.315 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/8.934, allocations: 2.727 MB / 4.318 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/8.936, allocations: 1.501 MB / 4.319 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.905e-06/8.936, allocations: 0 / 4.319 GB, free: 128.4 MB / 0.6042 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)