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: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 190.1 kB / 7.802 MB, free: 2.5 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.855/1.855, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001086/0.001086, allocations: 96.39 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.2401/0.2401, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3048/0.545, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/1.032, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.84/7.873, allocations: 2.817 GB / 3.283 GB, free: 49.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/7.873, allocations: 83.45 kB / 3.283 GB, free: 49.11 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: 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.862/10.73, allocations: 0.7473 GB / 4.03 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/10.73, allocations: 13.75 kB / 4.03 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00606/10.74, allocations: 0.6259 MB / 4.031 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/10.75, allocations: 1.072 MB / 4.032 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/10.75, allocations: 46.92 kB / 4.032 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007391/10.75, allocations: 63.44 kB / 4.032 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004261/10.75, allocations: 1.753 MB / 4.034 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/10.75, allocations: 1.569 MB / 4.035 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/10.75, allocations: 3.062 kB / 4.035 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/10.75, allocations: 3.406 kB / 4.035 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/10.76, allocations: 92.28 kB / 4.035 GB, free: 36.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6642/11.42, allocations: 167.6 MB / 4.199 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/11.42, allocations: 1.117 MB / 4.2 GB, free: 68.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/11.42, allocations: 0.5788 MB / 4.201 GB, free: 68.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03294/11.46, allocations: 16.9 MB / 4.217 GB, free: 57.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/11.46, allocations: 45.91 kB / 4.217 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 3.988e-06/11.46, allocations: 0 / 4.217 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.01562/11.47, allocations: 3.055 MB / 4.22 GB, free: 56.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/11.47, allocations: 215.1 kB / 4.22 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/11.47, allocations: 0.7704 MB / 4.221 GB, free: 56.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/11.47, allocations: 25.7 kB / 4.221 GB, free: 56.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/11.47, allocations: 0.4979 MB / 4.222 GB, free: 56.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/11.47, allocations: 311.6 kB / 4.222 GB, free: 56.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/11.47, allocations: 0 / 4.222 GB, free: 56.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/11.48, allocations: 357.1 kB / 4.222 GB, free: 55.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/11.48, allocations: 0.5987 MB / 4.223 GB, free: 55.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/11.48, allocations: 0.9565 MB / 4.224 GB, free: 55.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/11.48, allocations: 1.282 MB / 4.225 GB, free: 55.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/11.48, allocations: 3.844 kB / 4.225 GB, free: 55.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01063/11.49, allocations: 3.055 MB / 4.228 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/11.5, allocations: 3.748 MB / 4.232 GB, free: 51.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/11.5, allocations: 7.219 kB / 4.232 GB, free: 51.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/11.5, allocations: 1.126 MB / 4.233 GB, free: 51.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/11.5, allocations: 287.9 kB / 4.233 GB, free: 51.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/11.51, allocations: 2.054 MB / 4.235 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/11.51, allocations: 271.4 kB / 4.235 GB, free: 50.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/11.51, allocations: 71.52 kB / 4.235 GB, free: 50.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/11.51, allocations: 3.938 kB / 4.235 GB, free: 50.56 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007567/11.52, allocations: 1.954 MB / 4.237 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/11.52, allocations: 9.656 kB / 4.237 GB, free: 50.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/11.52, allocations: 197.5 kB / 4.238 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/11.52, allocations: 362.5 kB / 4.238 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/11.52, allocations: 0.8309 MB / 4.239 GB, free: 49.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/11.53, allocations: 195.3 kB / 4.239 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/11.53, allocations: 74.94 kB / 4.239 GB, free: 49.93 MB / 0.5417 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.0007221/11.53, allocations: 156 kB / 4.239 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/11.53, allocations: 499 kB / 4.24 GB, free: 49.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009991/11.54, allocations: 4.365 MB / 4.244 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/11.54, allocations: 28.33 kB / 4.244 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/11.54, allocations: 0 / 4.244 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/11.54, allocations: 5.812 kB / 4.244 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/11.55, allocations: 6.052 MB / 4.25 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/11.55, allocations: 3.188 kB / 4.25 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/11.55, allocations: 118.1 kB / 4.25 GB, free: 48.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/11.56, allocations: 2.261 MB / 4.252 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/11.56, allocations: 19.2 kB / 4.252 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/11.56, allocations: 2.814 MB / 4.255 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/11.56, allocations: 3.344 kB / 4.255 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009156/11.57, allocations: 3.643 MB / 4.258 GB, free: 47.54 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009298/11.58, allocations: 4.159 MB / 4.262 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/11.58, allocations: 0.5052 MB / 4.263 GB, free: 46.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/11.58, allocations: 7.875 kB / 4.263 GB, free: 46.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/11.59, allocations: 94.33 kB / 4.263 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/11.59, allocations: 70.33 kB / 4.263 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/11.59, allocations: 38.47 kB / 4.263 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001527/11.59, allocations: 0.872 MB / 4.264 GB, free: 46.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01286/11.6, allocations: 2.321 MB / 4.266 GB, free: 46.07 MB / 0.5417 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.01218/11.61, allocations: 2.404 MB / 4.269 GB, free: 45.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007286/11.62, allocations: 2.805 MB / 4.271 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/11.62, allocations: 0.9375 kB / 4.271 GB, free: 45.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002755/11.62, allocations: 1.359 MB / 4.273 GB, free: 45.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/11.63, allocations: 467.6 kB / 4.273 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/11.64, allocations: 2.736 MB / 4.276 GB, free: 44.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/11.64, allocations: 1.499 MB / 4.277 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of SimCode: time 2.565e-06/11.64, allocations: 0 / 4.277 GB, free: 44.22 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)