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.001385/0.001385, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 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.001409/0.001409, allocations: 215.5 kB / 23.07 MB, free: 4.844 MB / 14.72 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.229/1.229, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 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.1576/0.1576, allocations: 31.55 MB / 344.8 MB, free: 3.738 MB / 270.1 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 - Absyn->SCode: time 7.935e-06/7.935e-06, allocations: 2.281 kB / 482.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.007/0.007008, allocations: 6.432 MB / 488.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.0101, allocations: 2.361 MB / 490.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.01037, allocations: 31.69 kB / 490.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.01072, allocations: 162.6 kB / 491.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.01118, allocations: 194.7 kB / 491.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.01175, allocations: 343.2 kB / 491.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.01251, allocations: 0.8629 MB / 492.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.01288, allocations: 245.4 kB / 492.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.01318, allocations: 294.6 kB / 493 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.01339, allocations: 226.4 kB / 493.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.01346, allocations: 48 kB / 493.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.01359, allocations: 87.97 kB / 493.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007762/0.01437, allocations: 1.216 MB / 494.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004892/0.01486, allocations: 0.8631 MB / 495.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.01491, allocations: 36 kB / 495.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.709e-05/0.01497, allocations: 31.75 kB / 495.5 MB, free: 1.586 MB / 350.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 [SIM] Bindings: time 0.002353/0.01732, allocations: 2.751 MB / 498.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002895/0.01761, allocations: 278.3 kB / 498.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.001082/0.01869, allocations: 1.225 MB / 499.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003661/0.01906, allocations: 268.4 kB / 500 MB, free: 12.81 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.002532/0.02159, allocations: 2.122 MB / 0.4903 GB, free: 10.58 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002401/0.02183, allocations: 205.1 kB / 0.4905 GB, free: 10.33 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 9.713e-05/0.02193, allocations: 97.62 kB / 0.4906 GB, free: 10.21 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001877/0.02212, allocations: 216.7 kB / 0.4908 GB, free: 9.941 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0002492/0.02237, allocations: 192.2 kB / 0.491 GB, free: 9.754 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004518/0.02282, allocations: 465.6 kB / 0.4915 GB, free: 9.176 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0007064/0.02352, allocations: 0.6083 MB / 0.492 GB, free: 8.449 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005522/0.02408, allocations: 0.6676 MB / 0.4927 GB, free: 7.781 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.002097/0.02617, allocations: 0.7509 MB / 0.4934 GB, free: 6.988 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0009715/0.02714, allocations: 1.136 MB / 0.4945 GB, free: 5.848 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 5.442e-05/0.0272, allocations: 39.97 kB / 0.4946 GB, free: 5.801 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0001252/0.02732, allocations: 159.8 kB / 0.4947 GB, free: 5.645 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.001723/0.02905, allocations: 1.411 MB / 0.4961 GB, free: 4.219 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 3.178e-05/0.02908, allocations: 44 kB / 0.4962 GB, free: 4.176 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.02908, allocations: 0 / 0.4962 GB, free: 4.176 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003917/0.02947, allocations: 395.5 kB / 0.4965 GB, free: 3.676 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.352e-06/0.02948, allocations: 4 kB / 0.4965 GB, free: 3.672 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.7e-05/0.02949, allocations: 27.94 kB / 0.4966 GB, free: 3.645 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.191e-05/0.02951, allocations: 7.938 kB / 0.4966 GB, free: 3.637 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.001036/0.03054, allocations: 0.9091 MB / 0.4975 GB, free: 2.742 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002873/0.03083, allocations: 427.9 kB / 0.4979 GB, free: 2.258 MB / 366.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) {} * Number of discrete variables: ................. 18 (18) {$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 clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 35 (scalar:35, 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 (resizable: 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: ........... 77 (scalar:75, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.681e-05/0.03088, allocations: 50.58 kB / 0.4979 GB, free: 2.211 MB / 366.1 MB Notification: Performance of SimCode: time 0.00323/0.03411, allocations: 2.33 MB / 0.5002 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01022/0.04433, allocations: 6.506 MB / 0.5065 GB, free: 9.555 MB / 382.1 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=480 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.196439597988501] Failed to read output from testmodel.py, exit status != 0: 0.05090482498053461 0.200076722 0.18261205100000003 Calling exit ...