Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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/Annex60 1.0.0/package.mo): time 0.2843/0.2843, allocations: 54.39 MB / 61.67 MB, free: 11.14 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001278/0.001278, allocations: 184 kB / 75.37 MB, free: 1.461 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.509/1.509, allocations: 194.2 MB / 283.2 MB, free: 3.492 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001557/0.001557, allocations: 111.4 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.782e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/0.4209, allocations: 86.03 MB / 0.5358 GB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4211, allocations: 85.73 kB / 0.5358 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.00909/0.4302, allocations: 2.475 MB / 0.5383 GB, free: 8.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.4303, allocations: 0 / 0.5383 GB, free: 8.855 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000338/0.4306, allocations: 361.9 kB / 0.5386 GB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4307, allocations: 11.97 kB / 0.5386 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.4307, allocations: 4.688 kB / 0.5386 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4309, allocations: 163 kB / 0.5388 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4309, allocations: 4 kB / 0.5388 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.4309, allocations: 3.906 kB / 0.5388 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.626e-05/0.431, allocations: 15.55 kB / 0.5388 GB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.946e-05/0.4311, allocations: 37.14 kB / 0.5388 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4311, allocations: 4 kB / 0.5388 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4311, allocations: 0 / 0.5388 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4311, allocations: 0 / 0.5388 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.4314, allocations: 228.8 kB / 0.5391 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.4316, allocations: 44.62 kB / 0.5391 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.4317, allocations: 16.23 kB / 0.5391 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.4322, allocations: 230.2 kB / 0.5393 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.4322, allocations: 32.25 kB / 0.5394 GB, free: 7.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4322, allocations: 0 / 0.5394 GB, free: 7.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.001122/0.4333, allocations: 208.1 kB / 0.5396 GB, free: 7.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.4334, allocations: 51.41 kB / 0.5396 GB, free: 7.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.4335, allocations: 90.88 kB / 0.5397 GB, free: 7.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4335, allocations: 25.7 kB / 0.5397 GB, free: 7.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.4335, allocations: 85.3 kB / 0.5398 GB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.4336, allocations: 21.05 kB / 0.5398 GB, free: 7.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.4336, allocations: 0 / 0.5398 GB, free: 7.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4337, allocations: 322.6 kB / 0.5401 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.4337, allocations: 7.625 kB / 0.5401 GB, free: 6.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.4338, allocations: 23.09 kB / 0.5402 GB, free: 6.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.4338, allocations: 14.55 kB / 0.5402 GB, free: 6.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4338, allocations: 0 / 0.5402 GB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001219/0.4339, allocations: 60.25 kB / 0.5402 GB, free: 6.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.434, allocations: 7.984 kB / 0.5402 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.434, allocations: 7.938 kB / 0.5402 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.434, allocations: 3.938 kB / 0.5402 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.4342, allocations: 32.78 kB / 0.5403 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4342, allocations: 0 / 0.5403 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4344, allocations: 32.11 kB / 0.5403 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4344, allocations: 7.969 kB / 0.5403 GB, free: 6.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.4345, allocations: 109.6 kB / 0.5404 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.4346, allocations: 11.78 kB / 0.5404 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.4346, allocations: 6.062 kB / 0.5404 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4346, allocations: 0 / 0.5404 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4346, allocations: 0 / 0.5404 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4346, allocations: 4 kB / 0.5404 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4348, allocations: 141.9 kB / 0.5406 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4348, allocations: 0 / 0.5406 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.435, allocations: 35.97 kB / 0.5406 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.435, allocations: 0 / 0.5406 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.435, allocations: 0.75 kB / 0.5406 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.435, allocations: 4 kB / 0.5406 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4351, allocations: 0 / 0.5406 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001669/0.4352, allocations: 163.8 kB / 0.5408 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4353, allocations: 77.11 kB / 0.5408 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4353, allocations: 0 / 0.5408 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4355, allocations: 23.98 kB / 0.5409 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4355, allocations: 12.58 kB / 0.5409 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4355, allocations: 0 / 0.5409 GB, free: 5.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.008e-05/0.4356, allocations: 80.53 kB / 0.541 GB, free: 5.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.4358, allocations: 8 kB / 0.541 GB, free: 5.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.4359, allocations: 103.2 kB / 0.5411 GB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.436, allocations: 36.78 kB / 0.5411 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4361, allocations: 0 / 0.5411 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.4361, allocations: 19.86 kB / 0.5411 GB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4362, allocations: 0.6875 kB / 0.5411 GB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.4367, allocations: 119.2 kB / 0.5412 GB, free: 5.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.4369, allocations: 0.696 MB / 0.5419 GB, free: 4.828 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4369, allocations: 0 / 0.5419 GB, free: 4.828 MB / 378.7 MB Notification: Performance of Templates: time 0.002281/0.4392, allocations: 0.7807 MB / 0.5427 GB, free: 4.055 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)