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.0.0+maint.om/package.mo", uses=false) 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/BusinessSimulation 2.2.0-main/package.mo", uses=false) Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 107.3 kB / 16.42 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 190 kB / 17.36 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1603/0.1603, allocations: 31.18 MB / 322.4 MB, free: 180 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.296e-05, allocations: 2.281 kB / 447.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.008194/0.008226, allocations: 6.975 MB / 454.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.01208, allocations: 2.169 MB / 456.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.0128, allocations: 19.88 kB / 456.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.01332, allocations: 170.5 kB / 456.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.01377, allocations: 146.9 kB / 456.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.01455, allocations: 335.1 kB / 457.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007477/0.0153, allocations: 0.7966 MB / 457.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.0158, allocations: 365.1 kB / 458.3 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.01607, allocations: 250.7 kB / 458.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.0163, allocations: 246.4 kB / 458.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.01639, allocations: 44 kB / 458.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.01655, allocations: 83.98 kB / 458.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006581/0.01722, allocations: 1.006 MB / 459.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004437/0.01767, allocations: 0.6923 MB / 460.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.01776, allocations: 99.56 kB / 460.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.148e-05/0.01786, allocations: 31.75 kB / 460.7 MB, free: 4.34 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 (89) * Number of variables: 89 (89) Notification: Performance of Bindings: time 0.002262/0.02013, allocations: 2.677 MB / 463.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001467/0.02028, allocations: 130 kB / 463.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0009954/0.02128, allocations: 1.116 MB / 464.7 MB, free: 264 kB / 334.1 MB Notification: Performance of simplify1: time 8.306e-05/0.02137, allocations: 83.88 kB / 464.7 MB, free: 180 kB / 334.1 MB Notification: Performance of Alias: time 0.002768/0.02415, allocations: 2.518 MB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplify2: time 4.73e-05/0.02421, allocations: 39.94 kB / 467.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001576/0.02438, allocations: 156 kB / 467.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Events: time 0.0003206/0.0247, allocations: 253 kB / 467.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002971/0.02501, allocations: 334.2 kB / 468 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Causalize: time 0.0009262/0.02594, allocations: 0.8805 MB / 468.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005526/0.02651, allocations: 0.6231 MB / 469.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Inline: time 0.002675/0.02919, allocations: 1.474 MB / 471 MB, free: 9.512 MB / 350.1 MB Notification: Performance of Partitioning: time 8.687e-05/0.02929, allocations: 75.61 kB / 471.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of Cleanup: time 6.492e-05/0.02936, allocations: 47.89 kB / 471.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Causalize: time 0.002694/0.03206, allocations: 2.307 MB / 473.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Tearing: time 1.498e-05/0.03208, allocations: 0 / 473.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Initialization: time 3.71e-07/0.03209, allocations: 4 kB / 473.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of Tearing: time 1.073e-05/0.03211, allocations: 7.938 kB / 473.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Categorize: time 2.273e-05/0.03213, allocations: 4 kB / 473.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of Solve: time 0.0003352/0.03247, allocations: 206 kB / 473.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Jacobian: time 5.67e-06/0.03248, allocations: 3.984 kB / 473.7 MB, free: 6.852 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 16 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 20 (20) {$SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:37, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 82 (scalar:78, array:3, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.973e-05/0.03255, allocations: 49.59 kB / 473.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of SimCode: time 0.003301/0.03585, allocations: 2.803 MB / 476.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of Templates: time 0.009556/0.04542, allocations: 4.726 MB / 481.2 MB, free: 15.39 MB / 366.1 MB make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.makefile (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=480 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1)