Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1243/0.1243, allocations: 24.15 MB / 284.1 MB, free: 5.254 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 7.938 kB / 361.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/4.12e-05, allocations: 2.312 kB / 361.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006725/0.006766, allocations: 6.618 MB / 367.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.01009, allocations: 2.404 MB / 370.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.0107, allocations: 31.75 kB / 370.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.0111, allocations: 170.4 kB / 370.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.01165, allocations: 198.4 kB / 370.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.01225, allocations: 347 kB / 371 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.01291, allocations: 0.7379 MB / 371.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.01332, allocations: 244.8 kB / 371.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.01367, allocations: 346.9 kB / 372.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.01384, allocations: 167.2 kB / 372.4 MB, free: 8.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.01389, allocations: 44 kB / 372.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.01403, allocations: 87.91 kB / 372.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.01415, allocations: 147.4 kB / 372.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01428, allocations: 171.3 kB / 372.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.01479, allocations: 474 kB / 373.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01479, allocations: 4 kB / 373.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01479, allocations: 0 / 373.3 MB, free: 7.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.0148, allocations: 0 / 373.3 MB, free: 7.84 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001156/0.01595, allocations: 1.039 MB / 374.4 MB, free: 6.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01599, allocations: 8.75 kB / 374.4 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.01626, allocations: 139.3 kB / 374.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.01672, allocations: 439.1 kB / 375 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.01675, allocations: 33 kB / 375 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.01679, allocations: 43.94 kB / 375 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.0174, allocations: 0.7883 MB / 375.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01741, allocations: 0 / 375.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.01744, allocations: 16 kB / 375.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01745, allocations: 12 kB / 375.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.01766, allocations: 124.9 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01881, allocations: 1.004 MB / 377 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.01918, allocations: 130.1 kB / 377.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.01925, allocations: 31.38 kB / 377.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.01927, allocations: 7.984 kB / 377.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.0193, allocations: 49.33 kB / 377.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.0193, allocations: 0 / 377.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003519/0.01966, allocations: 177.5 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.0198, allocations: 445 kB / 377.8 MB, free: 2.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.02029, allocations: 0.6011 MB / 378.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.02031, allocations: 33.7 kB / 378.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.0205, allocations: 371.2 kB / 378.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.02052, allocations: 31.7 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.0206, allocations: 63.25 kB / 378.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.02075, allocations: 0.5391 MB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.02081, allocations: 19.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.0211, allocations: 0.5297 MB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.02124, allocations: 78.98 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02124, allocations: 0 / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000242/0.02149, allocations: 157.2 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.02151, allocations: 8.031 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02151, allocations: 3.938 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.02153, allocations: 4 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.02166, allocations: 35.97 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.02167, allocations: 0 / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.02181, allocations: 27.94 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.02183, allocations: 15.92 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.02197, allocations: 176.5 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.02207, allocations: 63.67 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.02232, allocations: 130.9 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.02232, allocations: 4 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.02233, allocations: 0 / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02233, allocations: 3.938 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.02284, allocations: 364.3 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02284, allocations: 0 / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.02293, allocations: 23.98 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.02293, allocations: 11.98 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.02295, allocations: 4 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02295, allocations: 0 / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02295, allocations: 0 / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.02323, allocations: 418.5 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.02336, allocations: 97.48 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.02339, allocations: 8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.02354, allocations: 23.97 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.02358, allocations: 15.98 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.02359, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.0239, allocations: 411 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0239, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.0242, allocations: 103.7 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008552/0.02506, allocations: 351.4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.02529, allocations: 83.56 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.0253, allocations: 4 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.02537, allocations: 35.61 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.02593, allocations: 146.7 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.02693, allocations: 0.8399 MB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.02701, allocations: 129.2 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.02716, allocations: 63.31 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.02724, allocations: 44.48 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02724, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.01079/0.03802, allocations: 7.191 MB / 391 MB, free: 5.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.462977385148406]