Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_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.001107/0.001107, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001238/0.001238, allocations: 173 kB / 23.49 MB, free: 1.059 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.109/1.109, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.1074/0.1074, allocations: 24.13 MB / 284.4 MB, free: 5.328 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/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_dev_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 361.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.928e-05, allocations: 2.312 kB / 361.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006534/0.006563, allocations: 6.626 MB / 367.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.009906, allocations: 2.404 MB / 370.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005582/0.01046, allocations: 31.69 kB / 370.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.01088, allocations: 166.5 kB / 370.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.01138, allocations: 202.5 kB / 370.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.01194, allocations: 331 kB / 370.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.01254, allocations: 0.738 MB / 371.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.01291, allocations: 244.8 kB / 371.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.01324, allocations: 342.9 kB / 372.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.01339, allocations: 171.3 kB / 372.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.01344, allocations: 52 kB / 372.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.01356, allocations: 83.92 kB / 372.5 MB, free: 8.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01368, allocations: 151.3 kB / 372.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.0138, allocations: 163.3 kB / 372.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.01425, allocations: 485.9 kB / 373.3 MB, free: 8.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01425, allocations: 0 / 373.3 MB, free: 8.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01425, allocations: 0 / 373.3 MB, free: 8.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.01426, allocations: 0 / 373.3 MB, free: 8.164 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.001018/0.01528, allocations: 1.032 MB / 374.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.01532, allocations: 12.75 kB / 374.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.01556, allocations: 135.4 kB / 374.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.01603, allocations: 443.1 kB / 374.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.01606, allocations: 33 kB / 375 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.0161, allocations: 43.94 kB / 375 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.01675, allocations: 0.7843 MB / 375.8 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01676, allocations: 4 kB / 375.8 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01679, allocations: 20 kB / 375.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.0168, allocations: 8 kB / 375.8 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.01702, allocations: 115.8 kB / 375.9 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01815, allocations: 1.016 MB / 377 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.01849, allocations: 130.1 kB / 377.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.01854, allocations: 35.36 kB / 377.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.01857, allocations: 8 kB / 377.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01859, allocations: 37.39 kB / 377.2 MB, free: 4.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.0186, allocations: 0 / 377.2 MB, free: 4.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003296/0.01893, allocations: 169.3 kB / 377.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.01907, allocations: 445.1 kB / 377.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.01957, allocations: 0.6012 MB / 378.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01959, allocations: 33.7 kB / 378.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.0198, allocations: 379.2 kB / 378.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.01983, allocations: 35.69 kB / 378.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.01991, allocations: 63.27 kB / 378.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.02008, allocations: 0.5312 MB / 379.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.02014, allocations: 23.92 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.0204, allocations: 0.5323 MB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.02052, allocations: 74.98 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02052, allocations: 0 / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002282/0.02075, allocations: 157.3 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.02076, allocations: 4 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02077, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.02078, allocations: 3.938 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.02089, allocations: 35.97 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.0209, allocations: 4 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.02103, allocations: 39.89 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.02104, allocations: 8.25 kB / 380.3 MB, free: 0.5664 MB / 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.0001182/0.02116, allocations: 172.5 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.02123, allocations: 63.62 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.02143, allocations: 130.9 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.02143, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.02143, allocations: 3.938 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02144, allocations: 8 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.0218, allocations: 368.3 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02181, allocations: 0 / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.02189, allocations: 31.91 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02189, allocations: 0 / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.0219, allocations: 0 / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.0219, allocations: 4 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0219, allocations: 240 / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.02217, allocations: 422.6 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.0223, allocations: 101.4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.02233, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02247, allocations: 27.97 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.02252, allocations: 7.984 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.02253, allocations: 11.98 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003191/0.02285, allocations: 410.9 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02285, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.02314, allocations: 107.6 kB / 382.1 MB, free: 14.66 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.0007322/0.02387, allocations: 354.8 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.02407, allocations: 79.58 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02407, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.02414, allocations: 47.59 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.02463, allocations: 144 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.02558, allocations: 0.8436 MB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.424e-05/0.02566, allocations: 125.2 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.0258, allocations: 59.64 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.02588, allocations: 40.5 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.02588, allocations: 4 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.009864/0.03574, allocations: 7.188 MB / 391 MB, free: 6.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3413093970157206]